Question about perfdata

Karl DeBisschop karl at debisschop.net
Tue Jun 8 03:55:58 CEST 2004


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$
>  
>
The ping command in the error message is what the plugin is trying to 
execute. I assume you tried to run that and it just does not work. But 
it's possible that it works but gives 'surprising' output.

>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$
>
>  
>
IIRC, there is a verbose option that will tell you what command the 
debian build is running.

>Any ideas? I compiled the code from cvs using only ./configure; make ...
>Did I miss something?
>  
>
Find out what the debian build is running, and use that as a configure 
option.

>BTW , is the nagiosplug-help mailing list dead? I've posted this
>question there but never got an answer...
>  
>
No - its just that the developers' day jobs seem to be taking over our 
lives.

--
Karl


-------------------------------------------------------
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