[Nagios-users] Event Handlers

2009-01-15 Thread Morris, Josh
Is there a way to run the an event handler from the web interface? Example: When our internet goes down I have an event handler to restart a service on one of our Linux servers. This works great if the internet is down for a minute or less. Once I know the internet is back up if it has been down

[Nagios-users] Retrieving Data from M.I.B.

2009-01-15 Thread Sean O`Brien
Dear Mailing List, My question is regarding the check_snmp_int.pl plug-in functionality. At present the script retrieves network information from the M.I.B.-II and has the functionality to output performance data in octects on specified devices. Using, for example: -Soption: Include speed in

Re: [Nagios-users] Retrieving Data from M.I.B.

2009-01-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/01/09 06:13 AM, Sean O`Brien wrote: Dear Mailing List, My question is regarding the check_snmp_int.pl plug-in functionality. At present the script retrieves network information from the M.I.B.-II and has the functionality to output

Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread Sergio Ariel
I stopped Nagios first, and executed from Nagios Server: check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo and the result was the same (NRPE: Command timed out after 60 seconds) so, I don't think it's because a nagios.cfg's timeout definition. Please, what do you think about?

Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread jmoseley
Sergio Ariel sergio.ar...@iris.uh.cu wrote: I stopped Nagios first, and executed from Nagios Server: check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo and the result was the same (NRPE: Command timed out after 60 seconds) so, I don't think it's because a nagios.cfg's timeout

[Nagios-users] Acknowledged by user + Service action url

2009-01-15 Thread Palle L Jensen
Hello, I have 2 problems that I am currently working on. 1. In Nagios Web-interface and when someone acknowledges a problem, the Author (your name) it is pre-populated with Nagios and cannot be changed. We would like to be able to populate that with operators that acknowledge the problem.

Re: [Nagios-users] Next check time bug?

2009-01-15 Thread James Green
Albrecht, Can you say if your patches made it into the Nagios build tree? It certainly sounds like a good contender. The first patch fails to apply to the version shipped by Ubuntu 8.10 so either I wait for a fixed build in the months to come or I grab the source code with your patch applied.

[Nagios-users] Calendar dates in timeperiods

2009-01-15 Thread nagios
Hi Specs: Nagios 3.0.3 CentOS release 5.2 (Final) I'm trying to configure a 'vacation' timeperiod so I will not receive alerts using calendar dates, but once the dates are accepted into nagios, they seem to go skewiff. My config looks like this; define timeperiod{ timeperiod_name

Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread Marc Powell
On Jan 15, 2009, at 8:06 AM, Sergio Ariel wrote: I stopped Nagios first, and executed from Nagios Server: check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo and the result was the same (NRPE: Command timed out after 60 seconds) so, I don't think it's because a nagios.cfg's

Re: [Nagios-users] Acknowledged by user + Service action url {Fraud?}

2009-01-15 Thread Marc Powell
On Jan 15, 2009, at 8:28 AM, Palle L Jensen wrote: Hello, I have 2 problems that I am currently working on. 1. In Nagios Web-interface and when someone acknowledges a problem, the Author (your name) it is pre-populated with “Nagios” and cannot be changed. We would like to be able to

Re: [Nagios-users] Acknowledged by user + Service action url

2009-01-15 Thread Chris Beattie
From: Palle L Jensen [mailto:pall...@gmail.com] Sent: Thursday, January 15, 2009 9:28 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Acknowledged by user + Service action url 1. In Nagios Web-interface and when someone acknowledges a problem, the Author (your name) it is

Re: [Nagios-users] Event Handlers

2009-01-15 Thread Morris, Patrick
Is there a way to run the an event handler from the web interface? Example: When our internet goes down I have an event handler to restart a service on one of our Linux servers. This works great if the internet is down for a minute or less. Once I know the internet is back up if it has

[Nagios-users] What does the flag failure_prediction_enabled

2009-01-15 Thread Michel MAYEN
Hi all, I use Nagios 3.0.6 I can't find any informations on the flag failure_prediction_enabled in service definition. What is the effect of this flag ? Best regards, Michel MAYEN -- This SF.net email is sponsored

[Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
Hi Everyone I have a linux server as dhcp server and it's working very well, and I'd like to monitoring it with nrpe plugin and check_dhcp. The problem here is the outcome of check_dhcp is always: CRITICAL: No DHCPOFFERs were received. But the server is working alright. The command line is:

Re: [Nagios-users] Acknowledged by user + Service action url{Fraud?}

2009-01-15 Thread Palle L Jensen
Marc, Thanks for you help!! I am half way there :=) 1. http://nagios.sourceforge.net/docs/3_0/configcgi.html Lock Author Names Format: lock_author_names=[0/1] Example: lock_author_names=1 That worked great, Recently was looking for something like this in the cgi.cfg but never

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote: Hi Everyone I have a linux server as dhcp server and it's working very well, and I'd like to monitoring it with nrpe plugin and check_dhcp. The problem here is the outcome of check_dhcp is always: CRITICAL: No DHCPOFFERs were

[Nagios-users] Question about using the NSCA addon

2009-01-15 Thread Matthew Tice
I'm interested in using the nsca addon - but only the daemon. I thought I could just open an tcp connection to the daemon and send my update manually: echo 3\t1\tmt-ubuntu\tSMTP Availability\tFAIL\n | netcat nocnag02 5667 I set the value decryption_method=0 in the server config file (because

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
In deed both servers (the dhcp server and nagios server) are in the same subnet and there is no firewall between them. From the nagios server I run check_nrpe!check_dhcp And in the side of dhcp server I run the command: check_dhcp -s ip_dhcp_server -t 30 Actually I'm running other services

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Morris, Patrick
I have a linux server as dhcp server and it's working very well, and I'd like to monitoring it with nrpe plugin and check_dhcp. The problem here is the outcome of check_dhcp is always: CRITICAL: No DHCPOFFERs were received. But the server is working alright. The command line is:

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
Thanks but actually the plugin is setuid root, and as user root and user nagios the outcome is the same =( - Mensaje original De: Morris, Patrick patrick.mor...@hp.com Para: Christian Iñiguez challenger_jos...@yahoo.com.mx; nagios-users@lists.sourceforge.net

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
James Moseley Christian Iñiguez challenger_jos...@yahoo.com.mx wrote: In deed both servers (the dhcp server and nagios server) are in the same subnet and there is no firewall between them. From the nagios server I run check_nrpe!check_dhcp And in the side of dhcp server I run the command:

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
jmose...@corp.xanadoo.com wrote: Christian Iñiguez challenger_jos...@yahoo.com.mx wrote: Hi Everyone I have a linux server as dhcp server and it's working very well, and I'd like to monitoring it with nrpe plugin and check_dhcp. The problem here is the outcome of check_dhcp

[Nagios-users] problem check_dell plugin

2009-01-15 Thread Seth Simmons
I'm having a problem using the dell plugin (from http://www.itefix.no/i2/check_dell, nothing useful in the forum) If I run the plugin (as nagios) on the box, it works fine. $ perl check_dell.pl --storage DELL STORAGE OK - Controller battery 0:ok Controller perc 5/i integrated:ok Enclosure

Re: [Nagios-users] Acknowledged by user + Service action url

2009-01-15 Thread Marc Powell
On Jan 15, 2009, at 12:51 PM, Palle L Jensen wrote: Marc, Thanks for you help!! I am half way there :=) Good deal. You are right I have been unable to add the action url in the service definition, due to I have several hostnames for the specific service check. For example the below

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
I'm sorry, I already understood. But well, I did it like you told me, and I got the same outcome Running the check_dhcp on the nagios server. - Mensaje original De: jmose...@corp.xanadoo.com jmose...@corp.xanadoo.com Para: Christian Iñiguez challenger_jos...@yahoo.com.mx CC:

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
Exactly Kevin, you are right - Mensaje original De: Kevin Keane subscript...@kkeane.com CC: nagios-users@lists.sourceforge.net Enviado: jueves, 15 de enero, 2009 13:39:47 Asunto: Re: [Nagios-users] check_dhcp seems not working jmose...@corp.xanadoo.com wrote: Christian Iñiguez

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
Christian Iñiguez challenger_josep h...@yahoo.com.mx

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
Christian, actually, your question prompted me to try it again. Turned out that it was the firewall software on my Nagios box that blocked the DHCP request. As soon as I turned it off, check_dhcp worked. I'm not yet sure which ports to open to make it work with the firewall on. So far, I tried

Re: [Nagios-users] problem check_dell plugin

2009-01-15 Thread Kevin Keane
My guess is that the path environment is different when run under Nagios, and check_dell.pl can't find the Dell OpenManage software. I'm not sure exactly how it works on Unix, but the Windows version of check_dell uses OpenManage to actually do the checking. Seth Simmons wrote: I'm having a

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread James Miller
Sorry for the top post 1. Lease Request - The client sends a broadcast requesting an IP address 2. Lease Offer - The server sends the above information and marks the offered address as unavailable. The message sent is a DHCPOFFER broadcast message. 3. Lease Acceptance - The first

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
Kevin Keane subscript...@kkeane.com wrote: Christian, actually, your question prompted me to try it again. Turned out that it was the firewall software on my Nagios box that blocked the DHCP request. As soon as I turned it off, check_dhcp worked. I'm not yet sure which ports to open to make

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
JFTR: * jmose...@corp.xanadoo.com [2009-01-15 13:06]: If you're running Nagios on a different network than the DHCP server and there is a firewall in between, you'll probably have to do several things: 1. Open up a hole in the firewall to allow the Nagios server to request a DHCP address

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
* Christian Iñiguez challenger_jos...@yahoo.com.mx [2009-01-15 10:46]: I have a linux server as dhcp server and it's working very well, and I'd like to monitoring it with nrpe plugin and check_dhcp. The problem here is the outcome of check_dhcp is always: CRITICAL: No DHCPOFFERs were

Re: [Nagios-users] Next check time bug?

2009-01-15 Thread Albrecht Dreß
Am 15.01.09 15:29 schrieb(en) James Green: Can you say if your patches made it into the Nagios build tree? It certainly sounds like a good contender. They are in the CVS tree, which according to the Changelog is going to be Release 3.1.0... The first patch fails to apply to the version

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
Holger Weiss hol...@cis.fu-berlin.de wrote: * jmose...@corp.xanadoo.com [2009-01-15 13:06]: 2. Have a DHCP relay statement on the router's interface your Nagios server connects to so it knows to which server to relay the DHCP request to For such a setup, step (2) isn't necessary, as

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
* jmose...@corp.xanadoo.com [2009-01-15 14:59]: Holger Weiss hol...@cis.fu-berlin.de wrote: * jmose...@corp.xanadoo.com [2009-01-15 13:06]: 2. Have a DHCP relay statement on the router's interface your Nagios server connects to so it knows to which server to relay the DHCP request to For

Re: [Nagios-users] problem check_dell plugin

2009-01-15 Thread Brian A. Seklecki
Try: $ sudo -H -u nagios /usr/bin/perl /usr/local/nagios/libexec/check_dell.pl --chassis Otherwise, turn up the debugging in Nagios all the way. ~BAS On Thu, 15 Jan 2009, Seth Simmons wrote: I'm having a problem using the dell plugin (from http://www.itefix.no/i2/check_dell, nothing useful

Re: [Nagios-users] Windows disk health monitoring with smartmontoolsl/NSClient++?

2009-01-15 Thread Eric Pearce
Thanks for the tip - I think I'm making some progress, i.e. C:\Program Files\NSClient++nsclient++.exe CheckWMI Select Status from Win32_DiskDrive \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24 l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started! l

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
Holger Weiss hol...@cis.fu-berlin.de wrote: * jmose...@corp.xanadoo.com [2009-01-15 14:59]: Holger Weiss hol...@cis.fu-berlin.de wrote: * jmose...@corp.xanadoo.com [2009-01-15 13:06]: 2. Have a DHCP relay statement on the router's interface your Nagios server connects to so it knows

[Nagios-users] Problem with check_smtp plugin

2009-01-15 Thread Kaplan, Andrew H.
Hi there -- I recently installed Kyle O'Donnell's HP-UX plugins onto a system running HP-UX 11i v1. All plugins that are in use appear to be running fine with one exception: check_smtp reports and invalid hostname/address. I checked the arguments associated with the plugin and I manually ran

Re: [Nagios-users] Problem with check_smtp plugin

2009-01-15 Thread jmoseley
Kaplan, Andrew H. ahkap...@partners.org wrote: Hi there -- I recently installed Kyle O'Donnell's HP-UX plugins onto a system running HP-UX 11i v1. All plugins that are in use appear to be running fine with one exception: check_smtp reports and invalid hostname/address. I checked the

Re: [Nagios-users] Question about using the NSCA addon

2009-01-15 Thread Anthony Montibello
Hi Matt, Sorry to let you know your a bit off, If you review the Source code of NSCA or NRPE it is NOT expecting a string, it is expecting a particular formated byte array. where the begining of the Array is tested for Version# and Timestamps validation before event thinking about data. It is

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
Thank you! In my case, the server-side firewall works without a problem. The server does hand out DHCP addresses all the time. It was the client-side firewall (i.e., the one on the Nagios server) that blocked the DHCP request, even though I opened both ports 67 and 68 for both TCP and UDP. It

[Nagios-users] nagios 3.0.6-1 install on OpenSUSE 10.3

2009-01-15 Thread Chris
I downloaded nagios 3.0.6-1 tarball and made an RPM (rpmbuild -ba /path/to/nagios.spec). I now have the RPMs under /usr/src/packages/RPMS/i586/. If I run rpm -ivh nagios-3.0.6-1.i586.rpm I get error: error: Failed dependencies: /usr/bin/logger is needed by nagios-3.0.6-1.i586 chkconfig is needed