Re: [Nagios-users] Javascript - Nagios CGIs

2013-01-03 Thread Luis H. Forchesatto
Hi Esteban. I believe it is possible since we have many nagios interfaces made by users. Something like editing the source code of the web page should do the trick. 2013/1/3 Esteban Monge este...@nuevaeralatam.com Hi folks: Is it possible to insert Javascript code in Extra Actions icon for

Re: [Nagios-users] parsing tac.cgi output

2013-01-03 Thread Páll Guðjón Sigurðsson
Hi andy, as for the tac.cgi i think your best bet is to parse the html. Alternatively if you have pynag installed on the nagios server you can use this script: import pynag.Parsers s = pynag.Parsers.status() s.parse() all_services = s.data['servicestatus'] unhandled_problems = [service for

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread Páll Guðjón Sigurðsson
Slightly off topic, but how best to write nagios check that checks for this specific behavior (multiple instances of nagios running) ? - Original Message - From: Mike Guthrie mguth...@nagios.com To: Nagios Users List nagios-users@lists.sourceforge.net Sent: Wednesday, January 2, 2013

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread Assaf Flatto
Check_procs ? or write one ! On 03/01/13 11:10, Páll Guðjón Sigurðsson wrote: Slightly off topic, but how best to write nagios check that checks for this specific behavior (multiple instances of nagios running) ? - Original Message - From: Mike Guthriemguth...@nagios.com To:

[Nagios-users] Notifications

2013-01-03 Thread Keith Edmunds
Aim: to have any service or host notifications on a defined subset of hosts be sent to a specific contact group. Using host groups, we are able to send notifications of host problems to a specific contact group. We want to send notifications of service problems on those hosts to the same contact

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread C. Bensend
I think you'll have to write one... check_procs is not helpful in this case, as the daemon forks off many processes to run plugins. Just checking for number of Nagios processes won't help, as it won't be aware of parent/child relationships. Now, mind you, I *do* run check_procs on my Nagios

Re: [Nagios-users] Notifications

2013-01-03 Thread Paul Dubuc
Keith Edmunds wrote: Aim: to have any service or host notifications on a defined subset of hosts be sent to a specific contact group. Using host groups, we are able to send notifications of host problems to a specific contact group. We want to send notifications of service problems on those

Re: [Nagios-users] Javascript - Nagios CGIs

2013-01-03 Thread Esteban Monge
Hi Esteban. I believe it is possible since we have many nagios interfaces made by users. Something like editing the source code of the web page should do the trick. 2013/1/3 Esteban Monge este...@nuevaeralatam.com Hi folks: Is it possible to insert Javascript code in Extra Actions icon

[Nagios-users] Inconsistency of Nagios

2013-01-03 Thread Srikanth Gumma
Thank you for all the inputs. If I understand correctly, I should create some plugin to kill all dependency process on a periodic interval. In my observation I did not see multiple parent process. Currently what I observe is whenever I see such sluggishness then I stop nagios service cleanup

Re: [Nagios-users] Javascript - Nagios CGIs

2013-01-03 Thread Esteban Monge
Hi Esteban. I believe it is possible since we have many nagios interfaces made by users. Something like editing the source code of the web page should do the trick. 2013/1/3 Esteban Monge este...@nuevaeralatam.com Hi folks: Is it possible to insert Javascript code in Extra Actions icon

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread C. Bensend
If I understand correctly, I should create some plugin to kill all dependency process on a periodic interval. In my observation I did not see multiple parent process. My recommendation was to write a plugin to *detect* multiple parents, not kill them. Currently what I observe is whenever I