[Nagios-users] One notification for a host or service?

2010-07-16 Thread Danilo Godec
Hello, is it possible to setup Nagios 3 so that only one notification is sent out for a downed host or service, but still have the possibility of escalating to a 2nd (3rd, ...) level contact if the problem hasn't been fixed 'in time'? And when the host/service recovers, only contacts that have be

[Nagios-users] Nagios Freeze after Eventhandler execution

2010-07-16 Thread Harald Böhmecke
Hi All, Need help with an Eventhandler! After Nagios (successfully) executes the eventhandler, no further checks are done on any host. Nagios is like in a stopped or stalled state. Here is my config. I actually took it from the manual: define service { host_name b

Re: [Nagios-users] Adding a line to GUI

2010-07-16 Thread Honia A
Thanks for your reply Bret. I would like the second idea (keep that message on all the pages in that same gray box). So I looked into that directory you mentioned (/usr/local/nagios/sbin) but they are all the compiled cgi files. When I opened them with UltraEdit and Notepad, they were not

Re: [Nagios-users] Adding a line to GUI

2010-07-16 Thread Michael Friedrich
Honia A wrote: Thanks for your reply Bret. I would like the second idea (keep that message on all the pages in that same gray box). So I looked into that directory you mentioned (/usr/local/nagios/sbin) but they are all the compiled cgi files. When I opened them with UltraEdit and Notepad, th

[Nagios-users] Nagios plugin always returns 0 value

2010-07-16 Thread yuris
Hello, I made a plugin that counts mails in particular postfix queues and when invoke from shell at remote host (mail server) it returns me valid values on stdout: ./check_postfixq.sh -w 3 -c 5 -p OK - total mails in queues: 10606 | mail in queues=10606;3;5;0 but when I invoke

Re: [Nagios-users] Nagios plugin always returns 0 value

2010-07-16 Thread C. Bensend
> I made a plugin that counts mails in particular postfix queues and when > invoke from shell at remote host (mail server) it returns me valid > values on stdout: > > ./check_postfixq.sh -w 3 -c 5 -p > OK - total mails in queues: 10606 | mail in queues=10606;3;5;0 > > but when I in

Re: [Nagios-users] Nagios plugin always returns 0 value

2010-07-16 Thread yuris
Thank you! it was permissions issue, nrpe user could not execute "find" upon postfix spool directory so I added necessary privileges to /etc/sudoers on remote host and "sudo" prefix to command definition in nrpe.cfg and it started working :) -- best regards, yuris Duncan Ferguson wrote: > On

Re: [Nagios-users] Nagios plugin always returns 0 value

2010-07-16 Thread Duncan Ferguson
On 16 Jul 2010, at 15:10, yuris wrote: > > What's wrong with this plugin? If any configs are necessary or something > I'll provide them. If anyone have any reasonable idea please share. Always test plugins by running them as nagios (not root) and outside the directory the script is in $ libex

[Nagios-users] dynamic checks

2010-07-16 Thread Joel Brooks
Hi all, This is a long post, but (I think) it's an interesting problem... I'm struggling a little with a check procedure I'm trying to create. I'm a long time nagios user and I *know* there's a way to do this, but I'm having problems wrapping my head around the best way to achieve the desired ef

Re: [Nagios-users] Adding a line to GUI

2010-07-16 Thread Honia A
Michael, Thank you very much! It did the trick :-) Regards, h Date: Fri, 16 Jul 2010 15:06:39 +0200 From: michael.friedr...@univie.ac.at To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Adding a line to GUI Honia A wrote: Thanks for your reply Bret. I would

[Nagios-users] Error in configuration File..... Line 1 Null Value?

2010-07-16 Thread Scott Voll
So I'm a first timer to Nagios. Loved it at my old job, but I never managed it. Looks like I may be managing it at the new job. I've read through install guides and Googled a lot. Maybe it's something easy I'm just not getting. When I try and test the config I get: [r...@localhost bin]# sudo

Re: [Nagios-users] Error in configuration File..... Line 1 Null Value?

2010-07-16 Thread Edward St Pierre
Do: sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg That should sort that out On 16 Jul 2010 18:12, "Scott Voll" wrote: So I'm a first timer to Nagios. Loved it at my old job, but I never managed it. Looks like I may be managing it at the new job. I've read through install guides and Googled

[Nagios-users] NSCA error: log do not record any data.

2010-07-16 Thread The Champ
Good day, I just installed NSCA. I tried to test it with commands below and seems like it cant carry the actual data/mesg. out puts:: test file: [code] >cat test localhosttest abc [/code] File sent: [code] > ./src/send_nsca localhost -c sample-config/send_nsca.cfg < test 0 data p

[Nagios-users] Nagios Services

2010-07-16 Thread Jeremy Gibbs
Hi. This is a default check nagios has in it's config file for checking link status on a switch. define service{ use generic-service host_nameDC-6509 service_description Port 1 Link Status check_commandcheck_snm

Re: [Nagios-users] Nagios Services

2010-07-16 Thread Martin Melin
On Fri, Jul 16, 2010 at 9:56 PM, Jeremy Gibbs wrote: > Hi. > This is a default check nagios has in it's config file for checking link > status on a switch. > define service{ >         use                           generic-service >         host_name                DC-6509 >         service_descrip

Re: [Nagios-users] Caught SIGSEGV, shutting down..

2010-07-16 Thread Art Elsea, Jr
I just installed nagios 3.2.1 on a healthy Ubuntu 10.04.1 desktop. The install went without incident and after some work on the configuration files, I get no errors or warnings when I run "nagios3 -v /etc/nagios3/nagios.cfg". I start nagios using "/etc/init.d/nagios3 start" I open Firefox 3.

[Nagios-users] Macro for link in emails

2010-07-16 Thread jimj
Hello, I'm wondering if there's a way to add a link to email alerts that would provide the URL to the problem? I looked around on the macros page and could find any that might provide this. I'm hoping to have my email alerts look something like: * Nagios * Notification Type: PROBLEM http: