Betr.: Re: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-26 Thread Jan Bessels
Thanks everybody for the responses. Turns out what I want isn't standard in Nagios. Have no time to build a debugging wrapper myself. Last night I again checked the NagiosExchange site AND http://www.nagiosexchange.org/Utilities.16.0.html?tx_netnagext_pi1[p_view]=273 !!. Exactlly what I need, goin

RE: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Deborah Martin
Have you tried manually running the plugin on the command-line ? 'No output' usually means Nagios doesn't get a result back that it understands. A manual test of the plugin may tell you why... -Original Message- From: Jan Bessels [mailto:[EMAIL PROTECTED] Sent: 25 April 2006 12:16

RE: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Jan Bessels
Deborah Martin [EMAIL PROTECTED] 25-4-2006 13:49:58 As an example, if you run the following command-line from wherever you have the plugins installed :- ./check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 1 you would get the following output which Nagios can understand :- PING OK -

Re: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread moshe sharon
hi if you want to see exactly whats going on compile / configure your nagios with --enable-DEBUGALL Moshe Sharon On 4/25/06, Jan Bessels [EMAIL PROTECTED] wrote: Deborah Martin [EMAIL PROTECTED] 25-4-2006 13:49:58As an example, if you run the following command-line from wherever youhavethe

Re: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Kurt Yoder
Also ensure you are running the command using the same environment that nagios is using. For instance, if your nagios process runs as user nagios, you should `su - nagios` before running the command. That will allow you to exactly replicate what is happening when nagios attempts to run the