Re: [Nagios-users] Quick and easy way to monitor Nagios itself?

2009-09-07 Thread Natxo Asenjo
On Fri, Sep 4, 2009 at 8:50 PM, Jonathan Call jc...@verio.net wrote: Since I have a large Nagios distributed system the possibility of a Nagios process going AWOL on one of my many servers is a serious concern. Has anyone come up with a sure way to confirm (i.e. a cron job) that Nagios is

Re: [Nagios-users] Quick and easy way to monitor Nagios itself?

2009-09-07 Thread Marcus Rejås
On 09/04 15:08, David Rosenstrauch wrote: On 09/04/2009 02:50 PM, Jonathan Call wrote: Since I have a large Nagios distributed system the possibility of a Nagios process going AWOL on one of my many servers is a serious concern. Has anyone come up with a sure way to confirm (i.e. a cron

[Nagios-users] Fake host/services

2009-09-07 Thread Albert Shih
Hi all Is that possible to create some (1) fake host/service ? My nagios monitor many hosts/services, some server is on UPS, but many off then is not on UPS. When my power going down I've got many of many of alerte (of course my nagios-server is on UPS). So I don't want to make 1000

Re: [Nagios-users] Fake host/services

2009-09-07 Thread Jim Avery
2009/9/7 Albert Shih albert.s...@obspm.fr: Hi all Is that possible to create some (1) fake host/service ? My nagios monitor many hosts/services, some server is on UPS, but many off then is not on UPS. When my power going down I've got many of many of alerte (of course my nagios-server is on

[Nagios-users] How do I change the address the mail is sent from for email notifications?

2009-09-07 Thread Esteban Torres Rodriguez
I'm trying to do this but I do not work. http://support.nagios.com/knowledgebase/faqs/index.php?option=com_contentview=articleid=52catid=35faq_id=338expand=falseshowdesc=true Does anyone help me? I've tried to do with mailx but does not work either. --

Re: [Nagios-users] check_cluster2 does not work as expected

2009-09-07 Thread Jim Avery
2009/9/5 Werner Flamme werner.fla...@ufz.de: Hi, I want to check a cluster consisting of 2 nodes. The task is simple: show how many nodes are up (respective down, there are two nodes). The command definition is: $USER1$/check_cluster2 -h -l $HOSTALIAS$ -w 1 -c 2 -d $ARG1$ So, the host

Re: [Nagios-users] Fake host/services

2009-09-07 Thread Albert Shih
Le 07/09/2009 à 08:50:58+0100, Jim Avery a écrit 2009/9/7 Albert Shih albert.s...@obspm.fr: Hi all Is that possible to create some (1) fake host/service ? My nagios monitor many hosts/services, some server is on UPS, but many off then is not on UPS. When my power going down I've got

[Nagios-users] Host/Service DOWN during Nagios Scheduled Downtime not escalated after end Scheduled Downtime

2009-09-07 Thread Paul Vaes
Hello all, I see following strange behaviour and I don't know what should be the correct behaviour. Example : - host X is set in scheduled downtime for 2 hours for maintenance. - during this 2 hours host X is rebooted and the administrators made some mistakes and the route to nagios server is

[Nagios-users] Check_oracle_health plugin error

2009-09-07 Thread chethan.mnc
Dear All, I m trying to monitor oracle database hosted on solaris machine. when i try to configure/compile check_oracle_health plugin I m getting an error as below... Please let me know any work around for this error. Regards, Chethan M N

Re: [Nagios-users] How does an NRPE daemon work with multiple Nagios servers?

2009-09-07 Thread Menard, Chris
Each nagios server makes a request to the NRPE deamon. The daemon (or inetd) is 'listening' for requests, collects the status info and responds to the initial request which goes right back! From: Stuart Browne [stuart.bro...@ausregistry.com.au] Sent:

Re: [Nagios-users] How do I change the address the mail is sent from for email notifications?

2009-09-07 Thread Menard, Chris
if using mailx, the -R parm sets the 'return' address. echo message | mailx -s subject -R nagios_from_addr...@nagios_server to_addr...@domain.com From: Esteban Torres Rodriguez [etor...@dap.es] Sent: Monday, September 07, 2009 2:56 AM To: nagios-user

Re: [Nagios-users] check_cluster2 does not work as expected

2009-09-07 Thread Werner Flamme
Werner Flamme [07.09.2009 11:06]: Jim Avery [07.09.2009 10:03]: 2009/9/5 Werner Flamme werner.fla...@ufz.de: Hi, I want to check a cluster consisting of 2 nodes. The task is simple: show how many nodes are up (respective down, there are two nodes). The command definition is:

[Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Jelle Smet
Hi List, My setup is more complicated than this but here's the essence: - I have created a hostgroup called linux_servers - I have created 10 service checks with default values. - Each individual service check has a hostgroup_name linux_servers This effectively applies all 10 check against

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Max
On Mon, Sep 7, 2009 at 10:54 AM, Jelle Smetnag...@smetj.net wrote: For one of the hosts I want to have a different threshold for only the Root Disk test. Hi Jelle, One way to do this is use the custom host and service variables that Nagios 3.x provides in it's configuration DSL. We use this

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/09 10:54 AM, Jelle Smet wrote: Hi List, You can exclude a single host/service already included in a hostgroup/servicegroup with the bang (!) character. i.e.: define service { host_name !web1 hostgroup_name web_servers } This

[Nagios-users] shell script in nagios

2009-09-07 Thread Melanie Pfefer
Hi, I have a shell script that greps for error in a log file and returns the entries if any. Now I want to run this shell script in nagios so that the check runs periodically. I expect nagios to do ssh and execute the shell script. If errors appear, the subject returns error in its subject

Re: [Nagios-users] Fake host/services

2009-09-07 Thread Jim Avery
2009/9/7 Albert Shih albert.s...@obspm.fr: I known that's is a solution but, it's not so simple because we have many hosts on many location, in some those location we don't have the control of what we monitor (just ping), so if the administrator of one server turn it off we don't want nagios

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
On Fri, Sep 4, 2009 at 2:51 PM, Marc Powellm...@ena.com wrote: On Sep 4, 2009, at 2:09 PM, Terry wrote: Most of them are windows boxes.  Notice 678608 service dependencies. I can't imagine that what I am doing is uncommon.  Can someone post a working nsclient++ or nrpe dependency

Re: [Nagios-users] shell script in nagios

2009-09-07 Thread Anthony
Nagios doesn't have inbuilt ssh support per se.. It's a about the plugins. You could make a shell script on your nagios box to perform the SSH, parse the response and then return the relevant error level and text as per the nagios plugin guidelines.. you can use utils.sh as a base.. Making

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné mga...@iweb.com: On 9/7/09 12:54 PM, Terry wrote: On Fri, Sep 4, 2009 at 2:51 PM, Marc Powellm...@ena.com  wrote: Based on that number, it looks like you're getting all services dependent on the NRPE services on all hosts. I haven't been following this thread but what

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné mga...@iweb.com: On 9/7/09 1:19 PM, Terry wrote: Which patch did you tried? Mine is in production at this time and it works perfectly. As for Thomas' one, it simply does not work. Sorry. :) http://marc.info/?l=nagios-develm=125193013621198w=2 [r...@omajelut01

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 1:19 PM, Terry wrote: Which patch did you tried? Mine is in production at this time and it works perfectly. As for Thomas' one, it simply does not work. Sorry. :) http://marc.info/?l=nagios-develm=125193013621198w=2 [r...@omajelut01 SOURCES]# patch -p0 nagios-patch patching

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 12:54 PM, Terry wrote: On Fri, Sep 4, 2009 at 2:51 PM, Marc Powellm...@ena.com wrote: Based on that number, it looks like you're getting all services dependent on the NRPE services on all hosts. I haven't been following this thread but what I think you're trying to do has recently

Re: [Nagios-users] NRPE gives wrong exit codes

2009-09-07 Thread Ciro Iriarte
2009/9/4 Marc Powell m...@ena.com: On Sep 4, 2009, at 2:30 PM, Ciro Iriarte wrote: It's weird, if I restart the daemon it works, but just for the first execution. - spmon:/etc/nagios/objects/services # /usr/lib/nagios/plugins/check_nrpe -H billbd2 -c check_disk -a 90% 80%

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 1:27 PM, Terry wrote: 2009/9/7 Mathieu Gagnémga...@iweb.com: On 9/7/09 1:19 PM, Terry wrote: I'm not a programmer and haven't spent any time in understanding patching so I probably screwed up. I didn't tried Nagios 3.2.0 yet. I can't tell if the patch would work with this

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné mga...@iweb.com: On 9/7/09 1:27 PM, Terry wrote: 2009/9/7 Mathieu Gagnémga...@iweb.com: On 9/7/09 1:19 PM, Terry wrote: I'm not a programmer and haven't spent any time in understanding patching so I probably screwed up. I didn't tried Nagios 3.2.0 yet. I can't

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 2:09 PM, Terry wrote: 2009/9/7 Mathieu Gagnémga...@iweb.com: I turned that off but no luck. What's interesting is this dependency works fine: define servicedependency{ hostgroup_name webmonitor service_description

[Nagios-users] Synchronize changes made via the web UI in fail-over monitoring setup

2009-09-07 Thread YungWei Chen
Hi, I have 2 nagios servers configured to support fail-over monitoring (scenario 2 as mentioned in http://nagios.sourceforge.net/docs/2_0/redundancy.html). I am wondering if there's a way to copy changes made via the web UI from the master to the slave. For example, I disable some

Re: [Nagios-users] How do I change the address the mail is sent from for email notifications?

2009-09-07 Thread Morris, Patrick
Esteban Torres Rodriguez wrote: I'm trying to do this but I do not work. http://support.nagios.com/knowledgebase/faqs/index.php?option=com_contentview=articleid=52catid=35faq_id=338expand=falseshowdesc=true Does anyone help me? I've tried to do with mailx but does not work either. Giving

Re: [Nagios-users] Synchronize changes made via the web UI in fail-over monitoring setup

2009-09-07 Thread Max
On Mon, Sep 7, 2009 at 7:42 PM, YungWei Chenywche...@yahoo.com wrote: Hi,    I have 2 nagios servers configured to support fail-over monitoring (scenario 2 as mentioned in http://nagios.sourceforge.net/docs/2_0/redundancy.html). I am wondering if there's a way to copy changes made via the