[ Elza @ 03.09.2008. 13:28 ] @
Evo nikako da dobro podesim check_mrtg za nagios, On je instaliran u okviru nagios-plugins-1.4.12 , na remote hostu imam klijent i u njegovoj nrpe.cfg podešeno command[check_mrtg]=/usr/local/nagios/libexec/check_mrtg -F /var/log/mrtg.log -e 10 -a AVG -v 1 -w 1000 -c 1500 a na nagios serveru definirano u commands.cfg define command{ command_name check_mrtg command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mrtg } u remotehost.cfg define service{ use local-service ; Name of service template to use host_name nadzor service_description MRTG check_command check_mrtg notifications_enabled 0 } E sad stalno pokazuje Warning MRTG data has expired (20340704 minutes old) i ovo vrijeme se samo povećava Ne znam bit kako on to gleda. U helpu piše If the value exceeds the <vwl> threshold, a WARNING status is returned. If the value exceeds the <vcl> threshold, a CRITICAL status is returned. If the data in the log file is older than <expire_minutes> old, a WARNING status is returned and a warning message is printed. ... Pomoćć!!! |