perfdata issue - not getting any data?

Travis J. Noll tjn at umn.edu
Wed Sep 21 19:51:20 CEST 2005


Did you compile your binary using the --with-default-perfdata argument 
to the configure script?

-Travis

Terry wrote:
> Anyone have thoughts on this?  I am stuck.
> 
> On 9/20/05, Terry <td3201 at gmail.com> wrote:
> 
>>I am ultimately trying to get nagiosgrapher to work.  In debugging my
>>problems with that, I am concerned that I am not getting ANY perfdata
>>out of the plugins.  Here are some relevant configs:
>>
>>nagios.cfg:
>>process_performance_data=1
>>service_perfdata_command=process-service-perfdata
>>
>>miscommands.cfg:
>>define command {
>>        command_name    process-service-perfdata
>>        command_line    /bin/echo -e
>>"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$"
>>
>>>>/var/log/nagios/test
>>
>>Here are the contents of /var/log/nagios/test:
>>
>>$       host PING    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host MEMORY USAGE        OK      1       $       $       $
>>  $       $
>>$       host       DISK - /tmp     OK      1       $       $       $
>>    $       $
>>$       host       DISK - /        OK      1       $       $       $
>>    $       $
>>$       host       SERVICE-crond   OK      1       $       $       $
>>    $       $
>>$       host       FTP     OK      1       $       $       $       $       $
>>$       host       DISK - /var/data/prod   OK      1       $       $
>>    $       $       $
>>$       host       PAGING FILE USAGE       OK      1       $       $
>>    $       $       $
>>$       host       DISK - /boot    OK      1       $       $       $
>>    $       $
>>$       host       DISK - /var/data/test/fp/share  OK      1       $
>>    $       $       $       $
>>$       host        DISK - //billing00        OK      1       $
>>$       $       $       $
>>$       host        DISK - /archiver        OK      1       $       $
>>     $       $       $
>>$       host    PING    OK      1       $       $       $       $       $
>>$       host        LOAD    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host       PING    OK      1       $       $       $       $       $
>>$       host        PING    OK      1       $       $       $       $       $
>>$       host   PING    OK      1       $       $       $       $       $
>>
>>
>>I have used other perfdata programs before so I don't know what the
>>deal is here.  This looks like nagios is NOT processing perfdata.
>>What do you guys think?
>>
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. 
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> 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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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