munin + apcupsd UPS SMT 1500

Tematy związane z oprogramowaniem, instalacją, konfiguracją
biolkell
Beginner
Posty: 110
Rejestracja: 06 sierpnia 2013, 21:34

munin + apcupsd UPS SMT 1500

Post autor: biolkell »

Witam testuje munina i apcupsd z ups apc smt 1500. udało mi się go podłączyć poprzez usb do testowego serwera postawiłem munina dodatkowo. dodałem plugina z tąd https://github.com/estately/munin-plugi ... er/apcupsd lecz wyrzuca mi takie błędy. Z muninem mam pierwszy kontakt, rozumiem że są błędy w kodzie plugina ?



root@debian:/var/log/munin# cat munin-node.log:

Kod: Zaznacz cały

 

2014/10/09-14:55:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:53183" Local: "[::ffff:127.0.0.1]:4949"
2014/10/09-14:55:01 [17670] Error output from apcupsd:
2014/10/09-14:55:01 [17670]     unknown monitor type: /etc/munin/plugins/apcupsd at /etc/munin/plugins/apcupsd line 44
2014/10/09-14:55:01 [17670]         main::decide_monitor_type() called at /etc/munin/plugins/apcupsd line 11
2014/10/09-14:55:01 [17670] Service 'apcupsd' exited with status 255/0.
2014/10/09-14:55:01 [17670] Error output from apcupsd:
2014/10/09-14:55:01 [17670]     unknown monitor type: /etc/munin/plugins/apcupsd at /etc/munin/plugins/apcupsd line 44
2014/10/09-14:55:01 [17670]         main::decide_monitor_type() called at /etc/munin/plugins/apcupsd line 11
2014/10/09-14:55:01 [17670] Service 'apcupsd' exited with status 255/0.
2014/10/09-14:55:02 [17670] Error output from postfix_mailqueue:
2014/10/09-14:55:02 [17670]     find: `deferred': Permission denied
2014/10/09-14:55:02 [17670]     find: `active': Permission denied
2014/10/09-14:55:02 [17670]     find: `maildrop': Permission denied
2014/10/09-14:55:02 [17670]     find: `incoming': Permission denied
2014/10/09-14:55:02 [17670]     find: `corrupt': Permission denied
2014/10/09-14:55:02 [17670]     find: `hold': Permission denied
2014/10/09-15:00:02 CONNECT TCP Peer: "[::ffff:192.168.4.82]:54702" Local: "[::ffff:192.168.4.82]:4949"
2014/10/09-15:00:02 [18339] Denying connection from: ::ffff:192.168.4.82
2014/10/09-15:00:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:53186" Local: "[::ffff:127.0.0.1]:4949"
2014/10/09-15:00:02 [18340] Error output from apcupsd:
2014/10/09-15:00:02 [18340]     unknown monitor type: /etc/munin/plugins/apcupsd at /etc/munin/plugins/apcupsd line 44
2014/10/09-15:00:02 [18340]         main::decide_monitor_type() called at /etc/munin/plugins/apcupsd line 11
2014/10/09-15:00:02 [18340] Service 'apcupsd' exited with status 255/0.
2014/10/09-15:00:02 [18340] Error output from apcupsd:
2014/10/09-15:00:02 [18340]     unknown monitor type: /etc/munin/plugins/apcupsd at /etc/munin/plugins/apcupsd line 44
2014/10/09-15:00:02 [18340]         main::decide_monitor_type() called at /etc/munin/plugins/apcupsd line 11
2014/10/09-15:00:02 [18340] Service 'apcupsd' exited with status 255/0.
2014/10/09-15:00:02 [18340] Error output from postfix_mailqueue:
2014/10/09-15:00:02 [18340]     find: `deferred': Permission denied
2014/10/09-15:00:02 [18340]     find: `active': Permission denied
2014/10/09-15:00:02 [18340]     find: `maildrop': Permission denied
2014/10/09-15:00:02 [18340]     find: `incoming': Permission denied
2014/10/09-15:00:02 [18340]     find: `corrupt': Permission denied
2014/10/09-15:00:02 [18340]     find: `hold': Permission denied
2014/10/09-15:01:43 Server closing!
biolkell
Beginner
Posty: 110
Rejestracja: 06 sierpnia 2013, 21:34

Post autor: biolkell »

okazało się że strona z logiem powstaje ale nie aktualizuje się strona dostępna przez www tak jak by czytał to z innej lokalizacji.

Okazało się błędna lokalizacja tzn munin odwoływał się do starej lokalizacji niż ja podałem.
ODPOWIEDZ