[Nagiosplug-help] problem with mrtgtraf and Return code of 127

Claudio Santander claudio.santander at gmail.com
Thu Aug 26 22:22:07 CEST 2010


hi guy`s
i have a problem with my nagios core,

my problem is this:


globalsw<http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=1&host=globalsw><http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=1&host=globalsw>
PING<http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=2&host=globalsw&service=PING>
OK08-26-2010 16:14:560d 1h 33m 49s1/3ECO OK - Paquetes perdidos = 0%, RTA =
0.70 ms Port 1 Bandwidth
Usage<http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=2&host=globalsw&service=Port+1+Bandwidth+Usage>
UNKNOWN08-26-2010 16:16:351d 3h 21m 32s3/3check_mrtgtraf: Imposible abrir el
archivo de registro MRTG Port 1 Link
Status<http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=2&host=globalsw&service=Port+1+Link+Status>
CRITICAL08-26-2010 16:08:141d 3h 20m 31s3/3(Service Check Timed Out)
Uptime<http://192.168.200.202/nagios/cgi-bin/extinfo.cgi?type=2&host=globalsw&service=Uptime>
CRITICAL08-26-2010 16:13:311d 3h 19m 30s3/3(Service Check Timed Out)

this is the log`s  nagios.log

[1282848497] SERVICE ALERT: globalsw;Port 1 Bandwidth
Usage;UNKNOWN;SOFT;2;check_mrtgtraf: Unable to open MRTG log file
[1282852763] SERVICE NOTIFICATION: claudio;globalsw;Port 1 Link
Status;CRITICAL;notify-service-by-email;(Service Check Timed Out)
[1282852763] SERVICE NOTIFICATION: nagiosadmin;globalsw;Port 1 Link
Status;CRITICAL;notify-service-by-email;(Service Check Timed Out)

my script is hosted in:
 /usr/local/nagios/libexec/check_mrtgtraf

permisionss
-rwxrwxrwx 1 nagios nagios 56631 2010-08-19 16:19 check_mrtgtraf

Regards.
Claudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100826/20e75c16/attachment.html>


More information about the Help mailing list