[Nagios-users] passive checks and possible actions in case of stale information

2009-01-12 Thread Alessandro Usai
Hi all, Reading through the docs about passive checks and the possible actions in case of stale information, it seems it is possible to turn on a freshness functionality so that after a certain timeout active checks are used instead. In my case this may not necessarily be feasible as the nodes

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-12 Thread alex alex
Hi again, Yes, there is another template named generic-contact but it's identical to the generic (excepting the name). But here's a good news: I have some notifications (finnaly, it seems that the notification works). And the bad news is that I get only emails like: Return-Path:

Re: [Nagios-users] passive checks and possible actions in case of stale information

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 4:40 AM, Alessandro Usai wrote: firewall: is it possible instead to just trigger (email) an alarm when the information is found to be stale? Yes, the Example given in the documentation is exactly this solution... -- Marc

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 5:44 AM, alex alex wrote: Notification: FLAPPINGSTOP Host: host1 State: UP Or for a service Notification Type: FLAPPINGSTOP Service: is_alive Host: host1 Is it the right behaviour (to put flapping instead up/down if the flapping is enabled) ? Yes, if the host or

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread Robert Yeo
The operation I am employing is Check CPU Load but the symptoms were the same as Michiel's check ping. Hopefully all the information is there now. Thanks! Rob Yeo # Finearts Nagios 2 Server define host{ host_nameDgh_000_012_FairUse aliasFinearts Nagios 2 Server

Re: [Nagios-users] send warnings to one group and critical to another

2009-01-12 Thread Shai
ping On Mon, Jan 5, 2009 at 9:28 AM, Shai sha...@gmail.com wrote: Hi, I have two different user groups. I have a service which is currently sending both WARNING and CRITICAL notifications to both. I would like WARNING and CRITICAL to be sent to group A and CRITICAL only to group B. How

Re: [Nagios-users] passive checks and possible actions in case of stale information

2009-01-12 Thread Alessandro Usai
Hi Marc Could you send me the exact link in case? Thanks again cheers Alessandro Marc Powell ha scritto: On Jan 12, 2009, at 4:40 AM, Alessandro Usai wrote: firewall: is it possible instead to just trigger (email) an alarm when the information is found to be stale? Yes, the Example

Re: [Nagios-users] send warnings to one group and critical to another

2009-01-12 Thread jmoseley
Shai, look in the mailing list archives - as late as yesterday, there is a thread that already covers your exact scenario. James Moseley Shai

Re: [Nagios-users] passive checks and possible actions in case of stale information

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 9:14 AM, Alessandro Usai wrote: Hi Marc Could you send me the exact link in case? No. It's not difficult to find browsing the index, through Google or simply using grep on your local copy of the docs. Looking for it yourself will do you far more good than me just

Re: [Nagios-users] passive checks and possible actions in case of stale information

2009-01-12 Thread Alessandro Usai
Perhaps I should have mentioned that I could not find the example you referred to, which is why I asked for the exact link... But thanks anyway cheers Alessandro Marc Powell ha scritto: On Jan 12, 2009, at 9:14 AM, Alessandro Usai wrote: Hi Marc Could you send me the exact link in case?

Re: [Nagios-users] Elevated alerts

2009-01-12 Thread Grant Lowe
Hi James, One question/problem with this. I'm not getting any pages or email on when services are showing up as critical in the nagios.log. For example: [1231773440] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;1;PROCS CRITICAL: 13 processes with STATE = Z [1231773500]

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread Robert Yeo
The ! is to remove servers that have been included already in the line above in the hostgroup_name, that way I do not need to spell them all out individually or create different groups if you have one server that doesn't fit with everything. Basically I do not want to monitor Check CPU Load on

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 9:26 AM, jmose...@corp.xanadoo.com wrote: First, what's with the '!' preceding many of your hosts names? It means don't apply the service to this host if it's in one of the named hostgroups. It's not documented quite like the OP's use but I expect it will work. See

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread jmoseley
I checked the object defintion documentation before replying and didn't find any such reference that you could exclude hosts out of host or service group definitions by using a 'bang' symbol. I thought a bang (!) was used only to separate arguments in check_commands. Even if this feature is

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread jmoseley
Marc Powell m...@ena.com wrote: It means don't apply the service to this host if it's in one of the named hostgroups. It's not documented quite like the OP's use but I expect it will work. See 'Excluding Hosts' at http://nagios.sourceforge.net/docs/3_0/objecttricks.html Good, I learned

Re: [Nagios-users] Elevated alerts

2009-01-12 Thread jmoseley
Grant Lowe gl...@sbcglobal.net wrote: Hi James, One question/problem with this. I'm not getting any pages or email on when services are showing up as critical in the nagios.log. For example: [1231773440] SERVICE ALERT: blarney;Check Remote Zombie Processes;CRITICAL;SOFT;1;PROCS CRITICAL:

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread Robert Yeo
Service dependencies. I commented them out and everything works fine. They do not get flagged as wrong and worked fine in the 2.x series, so I need to make some changes. Thanks for help! I should have went that route earlier but the behavior was so odd with some hosts OK and others not with

[Nagios-users] Nagios Command line

2009-01-12 Thread Shadhin rahman
All, is there any project to provide command line interface for Nagios. I understand cnagios already exists but it is not enough. Cnagios does not provide a way to perform checks on command line interface. Please advise on this. Thanks -- Shadhin Rahman 619 Watson Hall Columbia

Re: [Nagios-users] Elevated alerts

2009-01-12 Thread jmoseley
Also, do you have any escalations or service dependencies that could be blocking the notification? James Moseley James

Re: [Nagios-users] Elevated alerts

2009-01-12 Thread Grant Lowe
James, I thought I was trying to make this config as simple as possible. I'm only monitoring five UNIX boxes right now. Hopefully going to expand that soon with Nagios :- The hosts I'm monitoring didn't have any notification options, but they do now. All six. This is what I have for the

[Nagios-users] Change Nagios email 'from' field

2009-01-12 Thread ChrisSerafin
I have Nagios 3..0.1 running on Ubuntu 8.04 and would like to change the 'from' field when receiving emails. Currently I get one email from 'nag...@ubuntu-nagios' which is not a real email address at all. I would like to use 'supp...@xyz.com' so that clients can respond to our support team

[Nagios-users] Problem with NRPE!!!

2009-01-12 Thread Sergio Ariel
I'm triying to install NRPE but I have a big problem. All documents say that I must do next: tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 ./configure make all make install-plugin make install-daemon make install-daemon-config But when I try to run any make command I receive this error: make: *** No rule

Re: [Nagios-users] Problem with NRPE!!!

2009-01-12 Thread Richard Quintin
This probably means the ./configure step failed. Take a look at config.log. On Mon, Jan 12, 2009 at 12:24 PM, Sergio Ariel sergio.ar...@iris.uh.cuwrote: I'm triying to install NRPE but I have a big problem. All documents say that I must do next: tar xzf nrpe-2.8.tar.gz cd nrpe-2.8

Re: [Nagios-users] Change Nagios email 'from' field

2009-01-12 Thread jmoseley
You'll need to edit the command definition of 'notify-by-email', etc. The default mail program used by Nagios, /bin/mail, does not allow one to set a from address, nor do I believe there is an option to do so in a .mailrc file, either. In that case, you'd want to use sendmail, something like:

Re: [Nagios-users] Change Nagios email 'from' field

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 11:15 AM, ChrisSerafin wrote: I have Nagios 3..0.1 running on Ubuntu 8.04 and would like to change the 'from' field when receiving emails. Currently I get one email from 'nag...@ubuntu-nagios' which is not a real email address at all. I would like to use

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-12 Thread Robert Yeo
The problem was same host dependencies. In my first config I setup Check NRPE to have the same services on the box be dependent on it by declaring them again below. This worked on a nagios 2.x series just fine, but 3.x has a better way to declare it. Nagios 2.x version - define

Re: [Nagios-users] Elevated alerts

2009-01-12 Thread Grant Lowe
Hi James, Good news. I followed your advice and read some more about the definitions. But the thing that really helped was twofold: One was there was no reference to a global service template. The other thing was adding the contact for the service definition. There's a lot to this thing!

[Nagios-users] Changing diskspace available from kilobytes to megabytes

2009-01-12 Thread Kaplan, Andrew H.
Hi there -- We currently have several Nagios 2.6, and will eventually deploy version 3.0.6 servers running on our network. Currently diskspace availability is shown in kilobytes, but I would prefer to have it displayed in megabytes. Is it possible to configure either versions of Nagios to have

Re: [Nagios-users] Changing diskspace available from kilobytes to megabytes

2009-01-12 Thread jmoseley
The disk space units have nothing to do with Nagios, but with the output of the particular plugin you are using. The plugin 'check_disk', which comes with the Nagios Plugins package, by default displays data in megabytes, but you change the units with the proper argument. It appears that plugin

Re: [Nagios-users] Changing diskspace available from kilobytes to megabytes

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 7:15 PM, Kaplan, Andrew H. wrote: Hi there -- We currently have several Nagios 2.6, and will eventually deploy version 3.0.6 servers running on our network. Currently diskspace availability is shown in kilobytes, but I would prefer to have it displayed in

Re: [Nagios-users] Nagios sound

2009-01-12 Thread Ian Masters
I amto know How is possible to have sound for alert in nagios Please check the list archives. This has been discussed many times. Ian -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to