perfdata issue - not getting any data?
Travis J. Noll
tjn at umn.edu
Wed Sep 21 21:18:15 CEST 2005
It's not my interpretation that your lack of perfdata has anything to do
with the plugins, but rather the compilation and configuration of your
nagios binary. To me your configuration looks accurate. I'd download
the source and build the binary with the --with-default-perfdata
argument, rather than use the nagios rpm.
-Travis
Terry wrote:
> I did think of this. I installed the plugins via RPM. I looked @ the
> spec file that was used and did not see anything regarding perfdata.
> However, I looked at theconfigure script for the source and also did
> not see anything regarding perfdata. Perhaps I missed it somewhere.
>
> On 9/21/05, Travis J. Noll <tjn at umn.edu> wrote:
>
>>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
-------------------------------------------------------
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