Nagios-users Digest, Vol 29, Issue 34

a gardner ariccanfly at gmail.com
Sat Nov 1 02:02:14 CET 2008


On Fri,n Oct 31, 2008 at 6:41 PM, <
nagios-users-request at lists.sourceforge.net> wrote:

> Send Nagios-users mailing list submissions to
>        nagios-users at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/nagios-users
> or, via email, send a message with subject or body 'help' to
>        nagios-users-request at lists.sourceforge.net
>
> You can reach the person managing the list at
>        nagios-users-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagios-users digest..."
>
>
> Today's Topics:
>
>   1. Re: does nagios need apache? (jeremiah)
>   2. Re: does nagios need apache? (Marc Powell)
>   3. Re: does nagios need apache? (Valdinger, Stephen (DOV, MSX))
>   4. Re: does nagios need apache? (jeremiah)
>   5. nrpe script (jeremiah)
>   6. Re: nrpe script (Valdinger, Stephen (DOV, MSX))
>   7. Re: nrpe script (Marc Powell)
>   8. Re: nrpe script (Mathieu Gagn?)
>   9. Re: nrpe script (Patrick Morris)
>  10. Re: nrpe script (jeremiah)
>  11. Re: nrpe script (jeremiah)
>  12. Re: nrpe script (Aaron Segura)
>  13. Re: nrpe script (Patrick Morris)
>  14. Re: nrpe script (Mathieu Gagn?)
>  15. Re: nrpe script (jeremiah)
>  16. Re: nrpe script (jeremiah)
>  17. Re: nrpe script (jeremiah)
>  18. Re: nrpe script (Mathieu Gagn?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 31 Oct 2008 13:25:28 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] does nagios need apache?
> To: Novin Jaiswal <novin.jaiswal at ishisystems.com>
> Cc: "Valdinger, Stephen \(DOV, MSX\)" <svalding at doverchem.com>,
>        nagios-users at lists.sourceforge.net
> Message-ID: <1225484728.22686.40.camel at jeremiah-laptop>
> Content-Type: text/plain
>
> But can i view the historical data without running apache by a nagios
> command line interface without parsing log files?
>
> On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote:
> > Using apache you can view the different historical data of Nagios as
> > html out put. Using http protocol.
> >
> > For eg. http://servername/nagios
> >
> > Thanks & Regards
> > Novin Jaiswal
> > Ishi Systems Inc.
> > 732-318-8156(cell)
> >
> >
> >
> >
> > -----Original Message-----
> > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com]
> > Sent: Friday, October 31, 2008 4:20 PM
> > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] does nagios need apache?
> >
> > Nagios itself is just a daemon. The only reason for apache is for the
> > cgi's and web interface.
> >
> >
> > ------Original Message------
> > From: jeremiah
> > To: Nagios-Users
> > ReplyTo: jeremiah.jester at panasonic.aero
> > Sent: Oct 31, 2008 4:14 PM
> > Subject: [Nagios-users] does nagios need apache?
> >
> > Does nagios need apache to run or is it possible to run as a daemon?
> >
> > thanks,
> > JJ
> >
> >
> >
> > Disclaimer: The information contained in this transmission, including
> > any
> > attachments, may contain confidential information of Panasonic
> > Avionics
> > Corporation.  This transmission is intended only for the use of the
> > addressee(s) listed above.  Unauthorized review, dissemination or
> > other
> > use
> > of the information contained in this transmission is strictly
> > prohibited.
> > If you have received this transmission in error or have reason to
> > believe
> > you are not authorized to receive it, please notify the sender by
> > return
> >
> > email and promptly delete the transmission.
> >
> >
> >
> > ------------------------------------------------------------------------
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> > Stephen Valdinger
> > MIS Helpdesk Coordinator
> > P: 330.365.3622
> > C: 740.491.0958
> >
> > ------------------------------------------------------------------------
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 31 Oct 2008 15:55:24 -0500
> From: Marc Powell <marc at ena.com>
> Subject: Re: [Nagios-users] does nagios need apache?
> To: nagios-users at lists.sourceforge.net
> Message-ID: <316B3A65-1A44-4458-AA1F-A7ADCE745C9B at ena.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Oct 31, 2008, at 3:25 PM, jeremiah wrote:
>
> > But can i view the historical data without running apache by a nagios
> > command line interface without parsing log files?
>
> No, the cgi's are the only provided interface for that. There are no
> command-line reporting tools included. grep and less of the log files
> for basic stuff;  one of the reporting addons at nagiosexchange.org
> are your other options. There's also a third party command line
> interface at nagiosexchange (Utilities->Terminal) but I think it just
> shows current states.
>
> --
> Marc
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 31 Oct 2008 17:03:05 -0400
> From: "Valdinger, Stephen \(DOV, MSX\)" <svalding at doverchem.com>
> Subject: Re: [Nagios-users] does nagios need apache?
> To: <jeremiah.jester at panasonic.aero>,   "Novin Jaiswal"
>        <novin.jaiswal at ishisystems.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID:
>        <D34E2E139C3B86498D9FAB0F86FAB6590A4ED8F6 at dovmsx00.dover.internal>
> Content-Type: text/plain;       charset="us-ascii"
>
> There are utilities do that yes. In the /usr/local/bin/Nagios (at least
> in my install, your path may be different) there is a nagiosstats binary
> you can run. There are options for mrtg (-m) or csv (-c) output. Note
> that this only gives you performance data, and not data on individual
> checks of hosts and services. As Marc stated you will have to look on
> nagiosexchange.org for utilities that do those sorts of functions.
>
> Stephen Valdinger
> MIS Helpdesk Coordinator
> 330.365.3622 -O
> 740.491.0958 - C
> svalding at doverchem.com
> Never agrue with an idiot. They drag you down to their level and then
> beat you with their experience.
>
> -----Original Message-----
> From: jeremiah [mailto:jeremiah.jester at panasonic.aero]
> Sent: Friday, October 31, 2008 4:25 PM
> To: Novin Jaiswal
> Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] does nagios need apache?
>
> But can i view the historical data without running apache by a nagios
> command line interface without parsing log files?
>
> On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote:
> > Using apache you can view the different historical data of Nagios as
> > html out put. Using http protocol.
> >
> > For eg. http://servername/nagios
> >
> > Thanks & Regards
> > Novin Jaiswal
> > Ishi Systems Inc.
> > 732-318-8156(cell)
> >
> >
> >
> >
> > -----Original Message-----
> > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com]
> > Sent: Friday, October 31, 2008 4:20 PM
> > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] does nagios need apache?
> >
> > Nagios itself is just a daemon. The only reason for apache is for the
> > cgi's and web interface.
> >
> >
> > ------Original Message------
> > From: jeremiah
> > To: Nagios-Users
> > ReplyTo: jeremiah.jester at panasonic.aero
> > Sent: Oct 31, 2008 4:14 PM
> > Subject: [Nagios-users] does nagios need apache?
> >
> > Does nagios need apache to run or is it possible to run as a daemon?
> >
> > thanks,
> > JJ
> >
> >
> >
> > Disclaimer: The information contained in this transmission, including
> > any
> > attachments, may contain confidential information of Panasonic
> > Avionics
> > Corporation.  This transmission is intended only for the use of the
> > addressee(s) listed above.  Unauthorized review, dissemination or
> > other
> > use
> > of the information contained in this transmission is strictly
> > prohibited.
> > If you have received this transmission in error or have reason to
> > believe
> > you are not authorized to receive it, please notify the sender by
> > return
> >
> > email and promptly delete the transmission.
> >
> >
> >
> >
> ------------------------------------------------------------------------
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> > Stephen Valdinger
> > MIS Helpdesk Coordinator
> > P: 330.365.3622
> > C: 740.491.0958
> >
> >
> ------------------------------------------------------------------------
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 31 Oct 2008 14:10:25 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] does nagios need apache?
> To: "Valdinger, Stephen (DOV, MSX)" <svalding at doverchem.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1225487425.3209.9.camel at jeremiah-laptop>
> Content-Type: text/plain
>
> Great. thanks to all.
>
> On Fri, 2008-10-31 at 14:03 -0700, Valdinger, Stephen (DOV, MSX) wrote:
> > There are utilities do that yes. In the /usr/local/bin/Nagios (at
> > least
> > in my install, your path may be different) there is a nagiosstats
> > binary
> > you can run. There are options for mrtg (-m) or csv (-c) output. Note
> > that this only gives you performance data, and not data on individual
> > checks of hosts and services. As Marc stated you will have to look on
> > nagiosexchange.org for utilities that do those sorts of functions.
> >
> > Stephen Valdinger
> > MIS Helpdesk Coordinator
> > 330.365.3622 -O
> > 740.491.0958 - C
> > svalding at doverchem.com
> > Never agrue with an idiot. They drag you down to their level and then
> > beat you with their experience.
> >
> > -----Original Message-----
> > From: jeremiah [mailto:jeremiah.jester at panasonic.aero]
> > Sent: Friday, October 31, 2008 4:25 PM
> > To: Novin Jaiswal
> > Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] does nagios need apache?
> >
> > But can i view the historical data without running apache by a nagios
> > command line interface without parsing log files?
> >
> > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote:
> > > Using apache you can view the different historical data of Nagios as
> > > html out put. Using http protocol.
> > >
> > > For eg. http://servername/nagios
> > >
> > > Thanks & Regards
> > > Novin Jaiswal
> > > Ishi Systems Inc.
> > > 732-318-8156(cell)
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com]
> > > Sent: Friday, October 31, 2008 4:20 PM
> > > To: jeremiah.jester at panasonic.aero;
> > nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] does nagios need apache?
> > >
> > > Nagios itself is just a daemon. The only reason for apache is for
> > the
> > > cgi's and web interface.
> > >
> > >
> > > ------Original Message------
> > > From: jeremiah
> > > To: Nagios-Users
> > > ReplyTo: jeremiah.jester at panasonic.aero
> > > Sent: Oct 31, 2008 4:14 PM
> > > Subject: [Nagios-users] does nagios need apache?
> > >
> > > Does nagios need apache to run or is it possible to run as a daemon?
> > >
> > > thanks,
> > > JJ
> > >
> > >
> > >
> > > Disclaimer: The information contained in this transmission,
> > including
> > > any
> > > attachments, may contain confidential information of Panasonic
> > > Avionics
> > > Corporation.  This transmission is intended only for the use of the
> > > addressee(s) listed above.  Unauthorized review, dissemination or
> > > other
> > > use
> > > of the information contained in this transmission is strictly
> > > prohibited.
> > > If you have received this transmission in error or have reason to
> > > believe
> > > you are not authorized to receive it, please notify the sender by
> > > return
> > >
> > > email and promptly delete the transmission.
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > > -
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win
> > great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in
> > the
> > > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > 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
> > >
> > >
> > > Stephen Valdinger
> > > MIS Helpdesk Coordinator
> > > P: 330.365.3622
> > > C: 740.491.0958
> > >
> > >
> > ------------------------------------------------------------------------
> > > -
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win
> > great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in
> > the
> > > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > 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
> > >
> > >
> > >
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 31 Oct 2008 14:21:07 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: [Nagios-users] nrpe script
> To: Nagios <nagios-users at lists.sourceforge.net>
> Message-ID: <1225488067.3209.20.camel at jeremiah-laptop>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> Hi folks,
>
> I have another question for you all that i haven't been able to resolve.
>
> I want to run a python script on my monitored hosts using the nrpe
> command.
>
> On my server I am running the following command:
>
> # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
>
> Every time i run the command above then i get the following error:
>
> "NRPE: Command 'loadscript_check_error_log' not defined
>
> On my monitored hosts, I've specified the corellary command
> in /etc/nagios/nrpe.cfg, then restarted the service.
>
> # command[loadscript_check_error_log]=python /home/username/script.py
>
> Am I missing something? Does the command[loadscript_check_error_log]
> actually have to be a valid plugin in the plugins directory or am I
> defining the action of running the script in this file?
>
> Note: This is the only command in my config that is not working for me
> so unlikely a service issue but rather something wrong with my config.
>
> Thanks!
>
> JJ
>
>
>
> Disclaimer: The information contained in this transmission, including any
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or other use
> of the information contained in this transmission is strictly prohibited.
> If you have received this transmission in error or have reason to believe
> you are not authorized to receive it, please notify the sender by return
> email and promptly delete the transmission.
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 31 Oct 2008 17:25:01 -0400
> From: "Valdinger, Stephen \(DOV, MSX\)" <svalding at doverchem.com>
> Subject: Re: [Nagios-users] nrpe script
> To: <jeremiah.jester at panasonic.aero>,
>        <nagios-users at lists.sourceforge.net>
> Message-ID:
>        <D34E2E139C3B86498D9FAB0F86FAB65905F534A0 at dovmsx00.dover.internal>
> Content-Type: text/plain;       charset="us-ascii"
>
> Is python in the path on the particular server? Try using /path/to/python
> and see if you have success.
>
>
> Stephen Valdinger
> MIS Helpdesk Coordinator
> P: 330.365.3622
> C: 740.491.0958
>
>
> -----Original Message-----
> From: jeremiah
> To: Nagios
> Sent: Fri Oct 31 17:21:07 2008
> Subject: [Nagios-users] nrpe script
>
> Hi folks,
>
> I have another question for you all that i haven't been able to resolve.
>
> I want to run a python script on my monitored hosts using the nrpe
> command.
>
> On my server I am running the following command:
>
> # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
>
> Every time i run the command above then i get the following error:
>
> "NRPE: Command 'loadscript_check_error_log' not defined
>
> On my monitored hosts, I've specified the corellary command
> in /etc/nagios/nrpe.cfg, then restarted the service.
>
> # command[loadscript_check_error_log]=python /home/username/script.py
>
> Am I missing something? Does the command[loadscript_check_error_log]
> actually have to be a valid plugin in the plugins directory or am I
> defining the action of running the script in this file?
>
> Note: This is the only command in my config that is not working for me
> so unlikely a service issue but rather something wrong with my config.
>
> Thanks!
>
> JJ
>
>
>
> Disclaimer: The information contained in this transmission, including any
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or other use
> of the information contained in this transmission is strictly prohibited.
> If you have received this transmission in error or have reason to believe
> you are not authorized to receive it, please notify the sender by return
> email and promptly delete the transmission.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 31 Oct 2008 16:37:36 -0500
> From: Marc Powell <marc at ena.com>
> Subject: Re: [Nagios-users] nrpe script
> To: Nagios <nagios-users at lists.sourceforge.net>
> Message-ID: <D8548623-C593-42CC-B257-59C748FBD83C at ena.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Oct 31, 2008, at 4:21 PM, jeremiah wrote:
>
> > Every time i run the command above then i get the following error:
> >
> > "NRPE: Command 'loadscript_check_error_log' not defined
> >
> > On my monitored hosts, I've specified the corellary command
> > in /etc/nagios/nrpe.cfg, then restarted the service.
> >
> > # command[loadscript_check_error_log]=python /home/username/script.py
>
> This command definition is commented out (#).
>
> --
> Marc
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 31 Oct 2008 17:42:54 -0400
> From: Mathieu Gagn? <mgagne at iweb.com>
> Subject: Re: [Nagios-users] nrpe script
> To: jeremiah.jester at panasonic.aero
> Cc: Nagios <nagios-users at lists.sourceforge.net>
> Message-ID: <490B7BDE.4080803 at iweb.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> Hi Jeremiah,
>
> jeremiah wrote:
>  > On my monitored hosts, I've specified the corellary command
>  > in /etc/nagios/nrpe.cfg, then restarted the service.
>  >
>  > # command[loadscript_check_error_log]=python /home/username/script.py
>  >
>  > Am I missing something?
>
> Is there really a "#" at the beginning of the line?
>
> You should remove it as this character indicates the beginning of a
> comment, therefore everything after will be ignored.
>
> Also, make sure the daemon is loading the right configuration file and
> not another located in /etc or /usr/local/nagios/etc, ...
>
> --
> Mathieu
>
>
>
> ------------------------------
>
> Message: 9
> Date: Fri, 31 Oct 2008 14:36:58 -0700
> From: Patrick Morris <patrick.morris at hp.com>
> Subject: Re: [Nagios-users] nrpe script
> To: jeremiah <jeremiah.jester at panasonic.aero>
> Cc: "Morris, Patrick" <patrick.morris at hp.com>,  Nagios
>        <nagios-users at lists.sourceforge.net>
> Message-ID: <20081031213658.GZ31128 at bakgwai.americas.hpqcorp.net>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, 31 Oct 2008, jeremiah wrote:
>
> > No, I was trying to simulate a command prompt.
> >
> > JJ
> >
> > On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote:
> > > On Fri, 31 Oct 2008, jeremiah wrote:
> > >
> > > > Hi folks,
> > > >
> > > > I have another question for you all that i haven't been able to
> > > resolve.
> > > >
> > > > I want to run a python script on my monitored hosts using the nrpe
> > > > command.
> > > >
> > > > On my server I am running the following command:
> > > >
> > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > > > loadscript_check_error_log
> > > >
> > > > Every time i run the command above then i get the following error:
> > > >
> > > > "NRPE: Command 'loadscript_check_error_log' not defined
> > > >
> > > > On my monitored hosts, I've specified the corellary command
> > > > in /etc/nagios/nrpe.cfg, then restarted the service.
> > > >
> > > > #
> > > command[loadscript_check_error_log]=python /home/username/script.py
> > > >
> > > > Am I missing something? Does the command[loadscript_check_error_log]
> > > > actually have to be a valid plugin in the plugins directory or am I
> > > > defining the action of running the script in this file?
> > > >
> > > > Note: This is the only command in my config that is not working for
> > > me
> > > > so unlikely a service issue but rather something wrong with my
> > > config.
> > >
> > > Is it in the config file commented out with a "#" like that?
>
> Even on the "command[loadscript_check_error_log]" line (which you
> wouldn't have seen at a command line)?
>
> You should also always define your commands with absolute paths, both
> for clarity and security reasons.
>
>
>
> ------------------------------
>
> Message: 10
> Date: Fri, 31 Oct 2008 14:38:25 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] nrpe script
> To: "Valdinger, Stephen (DOV, MSX)" <svalding at doverchem.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1225489105.3209.31.camel at jeremiah-laptop>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> When I typed python on the command line it drops my into the python
> interpreter.
>
> Regardless, I went ahead and specified it in the command:
>
> command[loadscript_check_error_log]=/usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
>
> now when i run the check_nrpe command from the server I get "could not
> run command".
>
> $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
>
> Could not run command
>
> Thoughts?
>
> Thanks,
> JJ
>
>
> On Fri, 2008-10-31 at 14:25 -0700, Valdinger, Stephen (DOV, MSX) wrote:
> > Is python in the path on the particular server? Try
> > using /path/to/python and see if you have success.
> >
> >
> > Stephen Valdinger
> > MIS Helpdesk Coordinator
> > P: 330.365.3622
> > C: 740.491.0958
> >
> >
> > -----Original Message-----
> > From: jeremiah
> > To: Nagios
> > Sent: Fri Oct 31 17:21:07 2008
> > Subject: [Nagios-users] nrpe script
> >
> > Hi folks,
> >
> > I have another question for you all that i haven't been able to
> > resolve.
> >
> > I want to run a python script on my monitored hosts using the nrpe
> > command.
> >
> > On my server I am running the following command:
> >
> > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > loadscript_check_error_log
> >
> > Every time i run the command above then i get the following error:
> >
> > "NRPE: Command 'loadscript_check_error_log' not defined
> >
> > On my monitored hosts, I've specified the corellary command
> > in /etc/nagios/nrpe.cfg, then restarted the service.
> >
> > # command[loadscript_check_error_log]=python /home/username/script.py
> >
> > Am I missing something? Does the command[loadscript_check_error_log]
> > actually have to be a valid plugin in the plugins directory or am I
> > defining the action of running the script in this file?
> >
> > Note: This is the only command in my config that is not working for me
> > so unlikely a service issue but rather something wrong with my config.
> >
> > Thanks!
> >
> > JJ
> >
> >
> >
> > Disclaimer: The information contained in this transmission, including
> > any
> > attachments, may contain confidential information of Panasonic
> > Avionics
> > Corporation.  This transmission is intended only for the use of the
> > addressee(s) listed above.  Unauthorized review, dissemination or
> > other use
> > of the information contained in this transmission is strictly
> > prohibited.
> > If you have received this transmission in error or have reason to
> > believe
> > you are not authorized to receive it, please notify the sender by
> > return
> > email and promptly delete the transmission.
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 11
> Date: Fri, 31 Oct 2008 14:33:57 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] nrpe script
> To: Patrick Morris <patrick.morris at hp.com>
> Cc: Nagios <nagios-users at lists.sourceforge.net>
> Message-ID: <1225488837.3209.26.camel at jeremiah-laptop>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> No, I was trying to simulate a command prompt.
>
> JJ
>
> On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote:
> > On Fri, 31 Oct 2008, jeremiah wrote:
> >
> > > Hi folks,
> > >
> > > I have another question for you all that i haven't been able to
> > resolve.
> > >
> > > I want to run a python script on my monitored hosts using the nrpe
> > > command.
> > >
> > > On my server I am running the following command:
> > >
> > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > > loadscript_check_error_log
> > >
> > > Every time i run the command above then i get the following error:
> > >
> > > "NRPE: Command 'loadscript_check_error_log' not defined
> > >
> > > On my monitored hosts, I've specified the corellary command
> > > in /etc/nagios/nrpe.cfg, then restarted the service.
> > >
> > > #
> > command[loadscript_check_error_log]=python /home/username/script.py
> > >
> > > Am I missing something? Does the command[loadscript_check_error_log]
> > > actually have to be a valid plugin in the plugins directory or am I
> > > defining the action of running the script in this file?
> > >
> > > Note: This is the only command in my config that is not working for
> > me
> > > so unlikely a service issue but rather something wrong with my
> > config.
> >
> > Is it in the config file commented out with a "#" like that?
> >
> >
> >
>
>
> Disclaimer: The information contained in this transmission, including any
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or other use
> of the information contained in this transmission is strictly prohibited.
> If you have received this transmission in error or have reason to believe
> you are not authorized to receive it, please notify the sender by return
> email and promptly delete the transmission.
>
>
>
>
>
> ------------------------------
>
> Message: 12
> Date: Fri, 31 Oct 2008 15:43:01 -0600
> From: Aaron Segura <Aaron.Segura at cabelas.com>
> Subject: Re: [Nagios-users] nrpe script
> To: <jeremiah.jester at panasonic.aero>,   "Nagios"
>        <nagios-users at lists.sourceforge.net>
> Message-ID:
>        <D33D2B75D8C1284BBDA4D7F61F47770F01302E61 at SIDHQEXCHMB4.Cabelas.Corp
> >
> Content-Type: text/plain; charset="us-ascii"
>
> There is no '#' on the beginning of the line in your nrpe.cfg is there?
> That's just in your e-mail for readability?
>
> -----Original Message-----
> From: jeremiah [mailto:jeremiah.jester at panasonic.aero]
> Sent: Friday, October 31, 2008 3:21 PM
> To: Nagios
> Subject: [Nagios-users] nrpe script
>
> Hi folks,
>
> I have another question for you all that i haven't been able to resolve.
>
> I want to run a python script on my monitored hosts using the nrpe
> command.
>
> On my server I am running the following command:
>
> # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
>
> Every time i run the command above then i get the following error:
>
> "NRPE: Command 'loadscript_check_error_log' not defined
>
> On my monitored hosts, I've specified the corellary command
> in /etc/nagios/nrpe.cfg, then restarted the service.
>
> # command[loadscript_check_error_log]=python /home/username/script.py
>
> Am I missing something? Does the command[loadscript_check_error_log]
> actually have to be a valid plugin in the plugins directory or am I
> defining the action of running the script in this file?
>
> Note: This is the only command in my config that is not working for me
> so unlikely a service issue but rather something wrong with my config.
>
> Thanks!
>
> JJ
>
>
>
> Disclaimer: The information contained in this transmission, including
> any
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or other
> use
> of the information contained in this transmission is strictly
> prohibited.
> If you have received this transmission in error or have reason to
> believe
> you are not authorized to receive it, please notify the sender by return
>
> email and promptly delete the transmission.
>
>
>
> ------------------------------------------------------------------------
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
>
> ------------------------------
>
> Message: 13
> Date: Fri, 31 Oct 2008 14:31:36 -0700
> From: Patrick Morris <patrick.morris at hp.com>
> Subject: Re: [Nagios-users] nrpe script
> To: jeremiah <jeremiah.jester at panasonic.aero>
> Cc: Nagios <nagios-users at lists.sourceforge.net>
> Message-ID: <20081031213136.GX31128 at bakgwai.americas.hpqcorp.net>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, 31 Oct 2008, jeremiah wrote:
>
> > Hi folks,
> >
> > I have another question for you all that i haven't been able to resolve.
> >
> > I want to run a python script on my monitored hosts using the nrpe
> > command.
> >
> > On my server I am running the following command:
> >
> > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > loadscript_check_error_log
> >
> > Every time i run the command above then i get the following error:
> >
> > "NRPE: Command 'loadscript_check_error_log' not defined
> >
> > On my monitored hosts, I've specified the corellary command
> > in /etc/nagios/nrpe.cfg, then restarted the service.
> >
> > # command[loadscript_check_error_log]=python /home/username/script.py
> >
> > Am I missing something? Does the command[loadscript_check_error_log]
> > actually have to be a valid plugin in the plugins directory or am I
> > defining the action of running the script in this file?
> >
> > Note: This is the only command in my config that is not working for me
> > so unlikely a service issue but rather something wrong with my config.
>
> Is it in the config file commented out with a "#" like that?
>
>
>
> ------------------------------
>
> Message: 14
> Date: Fri, 31 Oct 2008 18:01:39 -0400
> From: Mathieu Gagn? <mgagne at iweb.com>
> Subject: Re: [Nagios-users] nrpe script
> To: jeremiah.jester at panasonic.aero
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <490B8043.9010401 at iweb.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> jeremiah wrote:
> > When I typed python on the command line it drops my into the python
> > interpreter.
> >
> > Regardless, I went ahead and specified it in the command:
> >
> > command[loadscript_check_error_log]=/usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
> >
> > now when i run the check_nrpe command from the server I get "could not
> > run command".
> >
> > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > loadscript_check_error_log
> >
> > Could not run command
> >
> > Thoughts?
>
> Can the user under which the NRPE daemon runs access and execute
> /home/jesterj/report_loadscript_error_log.py ?
>
> --
> Mathieu
>
>
>
> ------------------------------
>
> Message: 15
> Date: Fri, 31 Oct 2008 15:10:25 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] nrpe script
> To: Mathieu Gagn? <mgagne at iweb.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1225491025.3209.34.camel at jeremiah-laptop>
> Content-Type: text/plain;       charset="utf-8"
>
> I just chown'd the file for nagios.
>
> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py
>
> $ ls -la *.py
> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55
> report_loadscript_error_log.py
>
> I'm now getting a different error after i fixed the path issue.
>
> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> loadscript_check_error_log
> NRPE: Unable to read output
>
> Thoughts?
>
> thanks,
> JJ
>
>
>
> On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote:
> > Hi,
> >
> > jeremiah wrote:
> > > When I typed python on the command line it drops my into the python
> > > interpreter.
> > >
> > > Regardless, I went ahead and specified it in the command:
> > >
> > >
> > command[loadscript_check_error_log]=/usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
> > >
> > > now when i run the check_nrpe command from the server I get "could
> > not
> > > run command".
> > >
> > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > > loadscript_check_error_log
> > >
> > > Could not run command
> > >
> > > Thoughts?
> >
> > Can the user under which the NRPE daemon runs access and execute
> > /home/jesterj/report_loadscript_error_log.py ?
> >
> > --
> > Mathieu
> >
> >
> >
>
>
>
> Disclaimer: The information contained in this transmission, including any
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or other use
> of the information contained in this transmission is strictly prohibited.
> If you have received this transmission in error or have reason to believe
> you are not authorized to receive it, please notify the sender by return
> email and promptly delete the transmission.
>
>
>
>
>
> ------------------------------
>
> Message: 16
> Date: Fri, 31 Oct 2008 15:20:53 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] nrpe script
> To: Mathieu Gagn? <mgagne at iweb.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1225491653.3209.36.camel at jeremiah-laptop>
> Content-Type: text/plain; charset=utf-8
>
> i check the manual and this is what it says about this particular error:
>
> On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote:
> > I just chown'd the file for nagios.
> >
> > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py
> >
> > $ ls -la *.py
> > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55
> > report_loadscript_error_log.py
> >
> > I'm now getting a different error after i fixed the path issue.
> >
> > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > loadscript_check_error_log
> > NRPE: Unable to read output
> >
> > Thoughts?
> >
> > thanks,
> > JJ
>

what does the output of the python file look like?
You just want nrpe to print the output in the nagios monitor? or are you
setting parameters for warning and critical email alerts?

the log should show you what was sent to nrpe

install check_nrpe on the machine with the py script to simplifiy your
debugging


-Aric





> >
> >
> >
> > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote:
> > > Hi,
> > >
> > > jeremiah wrote:
> > > > When I typed python on the command line it drops my into the
> > python
> > > > interpreter.
> > > >
> > > > Regardless, I went ahead and specified it in the command:
> > > >
> > > >
> > >
> > command[loadscript_check_error_log]=/usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
> > > >
> > > > now when i run the check_nrpe command from the server I get "could
> > > not
> > > > run command".
> > > >
> > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > > > loadscript_check_error_log
> > > >
> > > > Could not run command
> > > >
> > > > Thoughts?
> > >
> > > Can the user under which the NRPE daemon runs access and execute
> > > /home/jesterj/report_loadscript_error_log.py ?
> > >
> > > --
> > > Mathieu
> > >
> > >
> > >
> >
> >
> >
> > Disclaimer: The information contained in this transmission, including
> > any
> > attachments, may contain confidential information of Panasonic
> > Avionics
> > Corporation.  This transmission is intended only for the use of the
> > addressee(s) listed above.  Unauthorized review, dissemination or
> > other use
> > of the information contained in this transmission is strictly
> > prohibited.
> > If you have received this transmission in error or have reason to
> > believe
> > you are not authorized to receive it, please notify the sender by
> > return
> > email and promptly delete the transmission.
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
>
>
>
> ------------------------------
>
> Message: 17
> Date: Fri, 31 Oct 2008 15:27:31 -0700
> From: jeremiah <jeremiah.jester at panasonic.aero>
> Subject: Re: [Nagios-users] nrpe script
> To: Mathieu Gagn? <mgagne at iweb.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1225492051.3209.41.camel at jeremiah-laptop>
> Content-Type: text/plain; charset=utf-8
>
> I just pulled this error up in the manual and it sasy the following
> about the error: "NRPE: Unable to read output"
>
> =====
> This error indicates that the command that was run by the NRPE daemon
> did not return any character output.
> This could be an indication of the following problems:
>
> -An incorrectly defined command line in the command definition. Verify
> that the command definition in your NRPE configuration file is correct.
>
> -The plugin that is specified in the command line is malfunctioning. Run
> the command line manually to make sure the plugin returns some kind of
> text output.""
> =====
>
> I ran the command via the command prompt and works fine w/ returning
> output.
>
> Hmmm.
>
>
> On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote:
> > I just chown'd the file for nagios.
> >
> > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py
> >
> > $ ls -la *.py
> > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55
> > report_loadscript_error_log.py
> >
> > I'm now getting a different error after i fixed the path issue.
> >
> > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > loadscript_check_error_log
> > NRPE: Unable to read output
> >
> > Thoughts?
> >
> > thanks,
> > JJ
> >
> >
> >
> > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote:
> > > Hi,
> > >
> > > jeremiah wrote:
> > > > When I typed python on the command line it drops my into the
> > python
> > > > interpreter.
> > > >
> > > > Regardless, I went ahead and specified it in the command:
> > > >
> > > >
> > >
> > command[loadscript_check_error_log]=/usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
> > > >
> > > > now when i run the check_nrpe command from the server I get "could
> > > not
> > > > run command".
> > > >
> > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> > > > loadscript_check_error_log
> > > >
> > > > Could not run command
> > > >
> > > > Thoughts?
> > >
> > > Can the user under which the NRPE daemon runs access and execute
> > > /home/jesterj/report_loadscript_error_log.py ?
> > >
> > > --
> > > Mathieu
> > >
> > >
> > >
> >
> >
> >
> > Disclaimer: The information contained in this transmission, including
> > any
> > attachments, may contain confidential information of Panasonic
> > Avionics
> > Corporation.  This transmission is intended only for the use of the
> > addressee(s) listed above.  Unauthorized review, dissemination or
> > other use
> > of the information contained in this transmission is strictly
> > prohibited.
> > If you have received this transmission in error or have reason to
> > believe
> > you are not authorized to receive it, please notify the sender by
> > return
> > email and promptly delete the transmission.
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
>
>
>
> ------------------------------
>
> Message: 18
> Date: Fri, 31 Oct 2008 18:41:02 -0400
> From: Mathieu Gagn? <mgagne at iweb.com>
> Subject: Re: [Nagios-users] nrpe script
> To: jeremiah.jester at panasonic.aero
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <490B897E.4030109 at iweb.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hi,
>
> jeremiah wrote:
> > i check the manual and this is what it says about this particular error:
> >
> > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote:
> >> I just chown'd the file for nagios.
> >>
> >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py
> >>
> >> $ ls -la *.py
> >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55
> >> report_loadscript_error_log.py
> >>
> >> I'm now getting a different error after i fixed the path issue.
> >>
> >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c
> >> loadscript_check_error_log
> >> NRPE: Unable to read output
> >>
> >> Thoughts?
>
> "/home/jesterj/" is probably chowned to 700 anyway so the NRPE daemon
> won't be able to access and execute it anyway.
>
> Try running it manually with sudo to see the actual result:
> sudo -u nagios /usr/local/bin/python
> /home/jesterj/report_loadscript_error_log.py
>
> Also, you should copy your script in a more appropriate location such as
> /usr/local/bin or even /usr/lib/nagios/plugins if you have installed
> Nagios on a Debian or Ubuntu server.
>
> You can also try to start NRPE with "debug=1":
>
> "How to go about debugging other problems...
>
> When debugging problems it may be useful to edit the NRPE configuration
> file and change the debug=0 entry to debug=1. Once you do that, restart
> the NRPE daemon if it is running as a standalone daemon. After you try
> using the check_nrpe plugin again, you should be able to see some
> debugging information in the log files of the remote host. Check your
> logs carefully ? they should be able to help provide clues as to where
> the problem lies..."
>
> Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
>
>
> --
> Mathieu
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> End of Nagios-users Digest, Vol 29, Issue 34
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081031/6059ff8b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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