nagios, timet, nrpe ... apan, rrdtool

Thorsten Giese thorsten at oneroot.de
Sun Jul 27 14:33:43 CEST 2003


Hello there.

I have set up nagios to check nrpe throuh apan, with a very little extension. 
In the /etc/nagios/checkcommands.cfg apan takes the as the forth argument the 
macro $TIMET$. 

This should be the seconds since 1970 and something ;). But, as you can see, 
the same amount of seconds is passed several times at different timestamps. 
Is this a problem with the macro or did I make something completly wrong?

Below is a snippet of the /tmp/apan.debug messages, showing the timet problem.

Sun Jul 27 14:14:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de 
NRPE_check-disk_sda1_root 1059308054 80 95
Inserting 'USAGE' , '1059308054:89' into 
/usr/local/nagios/rrd/gandalf_sda1.rrd
Sun Jul 27 14:18:26 CEST 2003 Args: nrpe-disk-sda5 gandalf.rz-zw.fh-kl.de 
NRPE_check-disk_sda5_var 1059308306 80 85
Inserting 'USAGE' , '1059308306:7' into /usr/local/nagios/rrd/gandalf_sda5.rrd
Sun Jul 27 14:19:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de 
NRPE_check-disk_sda1_root 1059308354 80 95
Inserting 'USAGE' , '1059308354:89' into 
/usr/local/nagios/rrd/gandalf_sda1.rrd
Sun Jul 27 14:23:26 CEST 2003 Args: nrpe-disk-sda5 gandalf.rz-zw.fh-kl.de 
NRPE_check-disk_sda5_var 1059308606 80 85
Inserting 'USAGE' , '1059308606:7' into /usr/local/nagios/rrd/gandalf_sda5.rrd
Sun Jul 27 14:24:14 CEST 2003 Args: nrpe-disk-sda1 gandalf.rz-zw.fh-kl.de 
NRPE_check-disk_sda1_root 1059308654 80 95

-- 
Thorsten Giese



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list