Question about perfdata
Ben Clewett
Ben at clewett.org.uk
Tue Jun 8 09:33:41 CEST 2004
I can help with the problem of no performance data. You must get the
latest snapshot plugins and use them. This is currently:
http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406080514.tar.gz
I don't know about the ping, sorry.
Regards, Ben.
Pedro Fernandes Macedo wrote:
> On Wed, 2004-06-02 at 13:50, Pedro Fernandes Macedo wrote:
>
>>>2. You are using the latest nagios plugins. Only these produce
>>>performance data. You can check this by running one, like 'check_disk'.
>>> If you have performance data, this should reply:
>>
>>gargamel:/opt/nagios/libexec# /opt/nagios/libexec/check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 1
>>PING OK - Packet loss = 0%, RTA = 0.22 ms
>>gargamel:/opt/nagios/libexec#
>>Looks like I found the guilty part...
>>
>>Thanks for the help... Now I'm gonna fix this...
>>I've checked the config that works and it was pointing to the plugins installed by debian.. The ones compiled by my co-worker are the ones that dont produce output... I´ll ask him to recompile them...
>>
>
>
> Ok , now I'm having a hard time here. Reinstalled the nagios-plugins
> package from debian , and it didnt produce any performance data (when
> run from command line). Tried compiling both the latest release and the
> latest source from cvs and both didnt work...
>
> For the tests , I'm using this command:
> ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2
>
> The two usual outputs:
> 1 - compiled from nagios-plugins-HEAD-200406020514.tar.gz :
> -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2
> /bin/ping -n -U -w 12 -c 2 192.168.0.2
> Error: Could not interpret output from ping command
> -bash-2.05b$
>
> 2 - From the debian package:
> -bash-2.05b$ ./check_ping -H 192.168.0.2 -w 5000,100% -c 5000,100% -p 2
> PING OK - Packet loss = 0%, RTA = 0.16 ms
> -bash-2.05b$
>
> Any ideas? I compiled the code from cvs using only ./configure; make ...
> Did I miss something?
>
>
> BTW , is the nagiosplug-help mailing list dead? I've posted this
> question there but never got an answer...
>
> --
> Pedro Macedo
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> 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: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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