Re: [Nagios-users] problems with Distributed alerting

2010-02-08 Thread Marc Powell
Please always respond on list. More below... On Feb 8, 2010, at 4:48 PM, Ron Wilson wrote: > Thanks for reply. I am a little confused between Retain_Status and > Retain_NonStatus > The help screen is not very helpful It's in the documentation. > If I want to make sure that any host or service o

Re: [Nagios-users] problems with Distributed alerting

2010-02-08 Thread Marc Powell
On Feb 8, 2010, at 4:08 PM, Ron Wilson wrote: > We have set up a distributed ngaios 3.02 system using Nagiosql with several > slaves and one master. The master is responsible for all alerting. However > when we disable a notification service on the master ngaios and then do a > reload of any o

[Nagios-users] problems with Distributed alerting

2010-02-08 Thread Ron Wilson
We have set up a distributed ngaios 3.02 system using Nagiosql with several slaves and one master. The master is responsible for all alerting. However when we disable a notification service on the master ngaios and then do a reload of any of the slave servers it overwrites the status of the disable

Re: [Nagios-users] How to access user-defined service variables in a command object

2010-02-08 Thread Paul M. Dubuc
Sorry to have bothered the list. I was making the problem too hard because I was confused by what I'd read about on demand macros in Barth's book (p. 632). Using $_SERVICE_ALARM_NUMBER$ works in the command definition. I don't know why I didn't try that first. For some reason I thought you

Re: [Nagios-users] Scheduled downtime for 1 host and its services

2010-02-08 Thread Martin Melin
On Tue, Feb 2, 2010 at 4:44 PM, Jelle Smet wrote: > Hi List, > > I'm using Nagios 3.2.0 and have a question about scheduled downtimes which > I can't find in the docs. > > If I schedule downtime for a host, does this automatically schedule > downtime for all the host services too? > No, but notif

Re: [Nagios-users] How to access user-defined service variables in a command object

2010-02-08 Thread Paul M. Dubuc
I should have made more clear what I am trying to do below. I know I can access the service __ALARM_NUMBER from the command definition by giving the literal host_name and service description like this (I've updated the service definition in my previous example to illustrate): $_SERVICE_ALARM_N

[Nagios-users] How to access user-defined service variables in a command object

2010-02-08 Thread Paul M. Dubuc
I'm trying to integrate the use of an internally developed alarm generation command into our Nagios configuration. So I want to define an Nagios command object that calls this command with arguments specific to the service that is generating the status condition that generates the alarm. One

Re: [Nagios-users] Nagios web GUI, contact groups, hosts and services

2010-02-08 Thread L.C. Karssen
Hi Shadhin Rahman, Thanks for your reply. I hadn't mentioned in my e-mail, but adding the notes_url is indeed the option I had in mind as a last resort. I like your suggestion of linking to a wiki. If no others solution comes up, I guess that's what we'll do. Regards, Lennart Karssen. On Mon

Re: [Nagios-users] Hyperlink in Acknowledgement Comment

2010-02-08 Thread fevin Kagen
I've tried all sorts of combinations, but what I have now is this: http://xxx.xxx.xxx.xxx/nagios/cgi-bin/cmd.cgi?cmd_typ=&cmd_mod=2&host=&service=&sticky_ack=on&send_notification=on&persistent=on&com_data=""&btnSubmit=Commit I know it can be done via the nagios.cmd file, but since these are two s

Re: [Nagios-users] Hyperlink in Acknowledgement Comment

2010-02-08 Thread Morris, Patrick
fevin Kagen wrote: > Thanks, Patrick. I saw that, but it doesn't seem to make a my > difference. I did notice that using a named pipe does write a > hyperlink by default. Since the "http" option does not, I'm wondering > if it is possible,. Does anyone have this working via http? > Thanks! >

Re: [Nagios-users] Hyperlink in Acknowledgement Comment

2010-02-08 Thread fevin Kagen
Thanks, Patrick. I saw that, but it doesn't seem to make a my difference. I did notice that using a named pipe does write a hyperlink by default. Since the "http" option does not, I'm wondering if it is possible,. Does anyone have this working via http? Thanks! On Sat, Feb 6, 2010 at 11:10 AM, M

Re: [Nagios-users] How to set hard state from passive service check?

2010-02-08 Thread Marc Powell
On Feb 8, 2010, at 8:49 AM, Peter Klausner wrote: > I want passive checks to set a HARD state immediately. Active checks should > apply > the max_check_attempts setting. > > Is there a way to achieve this? Not that I know of without creating a separate service definition. Passive service

Re: [Nagios-users] Nagios web GUI, contact groups, hosts and services

2010-02-08 Thread shadih rahman
Karssen, Your problem appears to be process not the tool. I am not suggesting how to conduct business in your organization but here is my suggestion. I would reach out to noc management and put together a wiki or how to for each unique possible critical alert scenario. The I would add t

[Nagios-users] How to set hard state from passive service check?

2010-02-08 Thread Peter Klausner
According to the docs (and in my set-up) a passive service check result of non-OK sets a SOFT state. So you need max_check_attempts passive and/or active checks until it changes to HARD. I want passive checks to set a HARD state immediately. Active checks should apply the max_check_attempts setti

[Nagios-users] Antwort: Re: Nagios 3.2.0 process dies silently - help!

2010-02-08 Thread Sascha . Runschke
Tony Johansson schrieb am 05.02.2010 19:39:47: > [pid 32731] write(6, "1265393559||AHS||C: Drive Space||c:\\ - total: > 15.86 Gb - used: 7.60 Gb (48%) - free 8.26 Gb (52%)||c:\\ Used > Space=7.60Gb;14.27;15.54;0.00;15.86\n", 144) = -1 EFBIG (File too large) > [pid 32731] --- SIGXFSZ (File size

[Nagios-users] Nagios web GUI, contact groups, hosts and services

2010-02-08 Thread L.C. Karssen
Dear list, I'm presently working on a Nagios 3.2.0 setup that monitors approximately 1000 hosts and about 5000 services. The setup doesn't make use of Nagios' notification system, instead people at a control center (NOC) use the Nagios web interface to alert the appropriate people in case of an al