Perfdata

Cook, Garry GWCOOK at mactec.com
Thu Oct 7 18:27:58 CEST 2004


You may need to make a change from within the Nagios 'Process Info' cgi.
To do this, log in to your Nagios site as the administrative user, go to
the 'Process Info' page, and at the bottom of the Process Information
box, ensure you have:

    Performance Data Being Processed? Yes 

If Performance Data is not being processed, click the 'Enable
performance data' link in the 'Process Commands' box.

If this doesn't work, then look at the plugins. Have you installed the
latest plugins with support for PerfData?

-g

nagios-users-admin at lists.sourceforge.net wrote:
> I am trying to use performance data to create graphs using
> the nagiosgraph
> scripts.
> 
> I ran a make clean followed by
> 
> ./configure --with-default-perfdata
> 
> make all
> 
> make install
> 
> I have the following in my nagios.cfg
> 
> process_performance_data=1
> 
> host_perfdata_command=process-host-perfdata
> service_perfdata_command=process-service-perfdata
> 
> 
> This is how my misccommands.cfg looks:
> 
> I have tired all of the following to either create a file or run the
> insert.pl script: 
> 
> define command {
> command_name process-service-perfdata
> command_line /usr/local/nagios/nagiosgraph/insert.pl
> "$LASTCHECK$||$HOSTNAME$||$SERVICEDESC$||$OUTPUT$||$PERFDATA$" }
> 
> define command{
>         command_name    process-host-perfdata
>         command_line    /bin/echo -e "$HOSTNAME$\t$PERFDATA$" >>
> /usr/local/nagios/var/host-perfdata
>         }
> 
> #define command{
>        command_name    process-host-perfdata
>        command_line    /bin/echo -e
> "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETY
> PE$\t$EXECUTIONTIME$\t$OUTPUT$\t$
> PERFDATA$" >> /usr/local/nagios/var/host-perfdata
>       }
> 
> # 'process-host-perfdata' command definition
> define command{
>        command_name    process-host-perfdata
>        command_line    /usr/bin/printf "%b"
> "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETY
> PE$\t$EXECUTIONTIME$\t$OU TPUT$\t$PERFDATA$" >>
> /usr/local/nagios/var/host-perfdata.out        } 
> 
> # 'process-service-perfdata' command definition
> define command{
>        command_name    process-service-perfdata
>        command_line    /usr/bin/printf "%b"
> "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERV
> ICEATTEMPT$\t$STATETYPE$\
> t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >>
>        /usr/local/nagios/var/service-perfdata.out }
> 
> Nothing seems to work. I do not think that I am getting
> perfdata. There is
> no reference to perfdata in my log files (nagios.log, nagiosgraph.log,
> syslog) and the service-perfdata and host-perfdata file are not being
> created either. 
> 
> I appreciate any help you are able to offer.
> 
> 
> 
> Thank you
> 
> _________________________________________________________________
> Get ready for school! Find articles, homework help and more
> in the Back to
> School Guide! http://special.msn.com/network/04backtoschool.armx
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
> ITManagersJournal Use IT products in your business? Tell us what you
> think of 
> them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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