Hi,
jeremiah wrote:
>
> I check the log file and this is all i'm seeing pertaining to this
> command on the server.
>
> Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK
> ERRORS;WARNING;HARD;3;NRPE: Unable to read output
> Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION:
Mathieu,
Thanks for your ongoing help.
I check the log file and this is all i'm seeing pertaining to this
command on the server.
Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK
ERRORS;WARNING;HARD;3;NRPE: Unable to read output
Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICA
Have you got sudo configured on your NRPE host? I get this error on new
servers when I forget to add the Nagios/NRPE user to /etc/sudoers and
allow them access to run the plugins without needing a password.
Try running your command as the Nagios/NRPE user on your NRPE host like
so (alter path
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 n
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 incorr
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 2
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_n
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/che
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
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:[EMAIL PROTECTED]
Sent: Friday, October 31, 2008 3:21 PM
To: Nagios
Subject: [Nagios-users] nrpe script
Hi folks,
I have another
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
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 monitor
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 t
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
> > r
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.
>
>
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 scr
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
Eve
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 c
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 host
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
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. h
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
Sent: Oct 31, 2008 4:14 PM
Subject: [Nagios-users] does nagios need apache?
Does nagios need apache to run or is
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
I can't load OpCfg's interface. I'm getting those PHP errors:
Fatal error: Call to a member function isSideBarIncluded() on a
non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535
Fatal error: Call to a member function isSideBarIncluded() on a
non-object in /usr/local/nagios
On Fri, Oct 31, 2008 at 5:33 PM, Marc Powell <[EMAIL PROTECTED]> wrote:
>>> If you like the suppression of notifications for services on down
>>> hosts or would like to use the parenting/reachability logic, host
>>> checks would be necessary.
>>
>> I don't get notification of services unavailabilit
I would set up service A as the parent of service B if parenting works like
that. I'm not sure of services but I know that works for services.
Stephen Valdinger
MIS Helpdesk Coordinator
P: 330.365.3622
C: 740.491.0958
-Original Message-
From: Nair
To: nagios_users
Sent: Fri Oct 31 14:0
Hi,
I have been trying to find a data grapher for nagios. I have looked into
nagiosgraph and nagiosgrapher, however, both of them use serviceext
definition, which, according to the official nagios 3 manual, is
considered obsolete and will no longer be supported by version4. I am
wondering what
Hi
Please give some insight on service dependancy configuration on Nagios
distributed environment.
Current situation:
I have Service-A and Service-B on distribued servers are been actively
monitored and result is been passively submitted to central Nagios server.
Notifications are disabled
On Oct 31, 2008, at 9:57 AM, L B wrote:
> Thanks Mark for your answers
>
>>> What is the difference between checking a host is alive with a check
>>> in the host template (check_command check-host-alive), and
>>> creating a
>>> ping service applied to the host ?
>>
>> If the host check returns
Sorry, the website is http://www.opmon.org
_
Dario B. Bestetti OpServices
R. Luciana de Abreu, 471 - Sala 403
Porto Alegre, RS - CEP 90570-060
Fone 55(51)32753588 Mobile 55(51)81518218
Fax 55(51)32753588 Email [EMAIL PROTECTED]
"In God we tru
As promised, we just published our opensource website with OpServices
contributions to Nagios community.
_
Dario B. Bestetti OpServices
R. Luciana de Abreu, 471 - Sala 403
Porto Alegre, RS - CEP 90570-060
Fone 55(51)32753588 Mobile 55(51)815182
On Oct 31, 2008, at 9:50 AM, Assaf Flatto wrote:
> My problem is - i have a list of about 950 units i am monitoring
> once a day between 5 -7 AM , with
> the understanding that some of the (about 50-60) will be down.
>
> After the test is done - we do not need to see them ( once the test
> is
Thanks Mark for your answers
>> What is the difference between checking a host is alive with a check
>> in the host template (check_command check-host-alive), and creating a
>> ping service applied to the host ?
>
> If the host check returns a non-OK state, notifications for services
> on that hos
Hello
I may be making fool out of myself here , but i tried of thinking of a
solution for my problem and
couldn't so i am bringing it to the list.
My problem is - i have a list of about 950 units i am monitoring once a day
between 5 -7 AM , with
the understanding that some of the (about 50-
I got it working. Thanks for the tip.
On 10/10/08, Aaron Segura <[EMAIL PROTECTED]> wrote:
>
> Yes. Note the '-u' option.
>
>
>
> $ ./check_procs -h
>
> check_procs (nagios-plugins 1.4.2) 1.46
>
> Copyright (c) 1999 Ethan Galstad <[EMAIL PROTECTED]>Copyright (c)
> 2000-2004 Nagios Plugin Develo
On Oct 31, 2008, at 8:26 AM, Matt Nelson wrote:
> I have a process that I check for via SNMP. I am using the following:
>
> snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691
>
> which returns a string that is truncated:
>
> HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-X
Looks like about 128 characters...that number seems meaningful, somehow
:-)
http://www.net-snmp.org/docs/mibs/host.html#hrSWRunTable
-
hrSWRunParameters OCTETSTR
Legal Lengths: 0 .. 128
--
From: Matt Nelson [mai
Hi Hugo,
Thanks for you reply. Thanks for giving me hints. I will start looking
into Cacti.
I would like to volunteer for nagios future development.
Thanks.
Thanks & Regards
Novin Jaiswal
Ishi Systems Inc.
732-318-8156(cell)
-Original Message-
From: Hugo van der Kooij [mailto:[EMAIL
I have a process that I check for via SNMP. I am using the following:
snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691
which returns a string that is truncated:
HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-Xms512m -Xmx1024m
-Dcom.sun.management.jmxremote.port=x
-D
On Oct 31, 2008, at 5:10 AM, L B wrote:
> Hello all,
>
> What is the difference between checking a host is alive with a check
> in the host template (check_command check-host-alive), and creating a
> ping service applied to the host ?
If the host check returns a non-OK state, notifications for s
Hello all,
What is the difference between checking a host is alive with a check
in the host template (check_command check-host-alive), and creating a
ping service applied to the host ?
I did a test with both configurations, and didn't see a different behavior.
I thought it was a question of depen
42 matches
Mail list logo