debug mode
Marc Powell
marc at ena.com
Mon Nov 21 17:58:04 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of John Jolet
> Sent: Monday, November 21, 2005 10:09 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] debug mode
>
> On Monday 21 November 2005 09:58, Marc Powell wrote:
> > You could enable debug at compile time (./configure --help) or you
could
> > just wrap your command_line in an echo like --
> >
> > # 'check_nrpe' command definition
> > define command{
> > command_name check_nrpe
> > command_line echo "$USER1$/check_nrpe $HOSTADDRESS$ -c
$ARG1$
> > -to 30" >> /tmp/command.lines
> > }
> not using nrpe....using snmp direct from my monitoring box.
It doesn't matter. It was just an example. You can do the same with any
command.
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
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