rrd gaps

Gerd Mueller gmueller at netways.de
Tue Jan 8 10:23:01 CET 2008


Hi,


>     interface               file
>     perffile_path           /dev/shm

That's all you need.

> Q: Do I need a HOOK Statement?  I've tried all of them with no success.

No!

> service_perfdata_command=process-service-perfdata

that's not needed anymore


> 
> Commands.cfg
>    define command{
>        command_name    process-service-perfdata
>        command_line    /usr/lib64/nagios/plugins/contrib/fifo_write.pl  /var/log/nagios/rw/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
>        }

Not needed anymore!


>    define command{
>        command_name    process-service-perfdata-file
>        command_line    mv /dev/shm/service-perfdata /dev/shm/service-prefdata.$TIMET$
>        }
> 

That's all you need.

Please remove "service_perfdata_command=process-service-perfdata". I am
not sure but think nagios doesn't wirte any perffiles if this command
exists. Could you check /dev/shm for existing files? What das
NagiosGrapher Logfile say?

Cheers,

Gerd

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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