On 18 May 2010, at 20:45, Phillips, Dustin B wrote:

Sorry, I was wrong, insert.pl is being invoked every 30 seconds.

I enabled command debugging in nagios.conf and see the following in nagios.debug when it runs:

[1274211697.139775] [256.1] [pid=7452] Running command '/usr/local/ nagios/bin/insert.pl'... [1274211697.178549] [256.1] [pid=7452] Execution time=0.038 sec, early timeout=0, result=2, output=(null)

On command line insert.pl returns nothing.

The result in nagiosgraph.log, with logging turned up in nagiosgraph.conf, is many messages like the following:

Tue May 18 19:37:16 2010 INSERT info: Input servicedescr:system_freemem Tue May 18 19:37:16 2010 INSERT info: Input output:RAM OK - 24% free (253 MB out of 1036 MB RAM unused)
Tue May 18 19:37:16 2010 INSERT warn: perfdata not recognized

'perfdata not recognised' is normal if the output is not parsed by the map file. The code should then go into parsing the performance data.

Tue May 18 19:37:16 2010 INSERT info: RRDs::update /usr/local/nagios/ var/rrd/pxy03olvemo/system_freemem/percentfree/value.rrd 1274211428:24 Tue May 18 19:37:16 2010 INSERT info: RRDs::update /usr/local/nagios/ var/rrd/pxy03olvemo/system_freemem/totalfree/value.rrd 1274211428:253
Tue May 18 19:37:16 2010 INSERT debug: nagiosgraph exited

The update command says that it is updating the RRD files for this service. Does the graph look okay for this particular service?

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to