I made something the other day that might help you.
check_nagios_services is a plugin that checks the current of other nagios
services (via mk-livestatus) and you can set threshold, for example if one of
many http checks are critical, return critical as well.
Maybe you can use that as a basis
Adding these two lines to /etc/sudoers will help you (stolen from the adagios
rpm package):
# Allow nagios user to restart the nagios service
Defaults:nagios!requiretty
nagios ALL = (root) NOPASSWD: /etc/init.d/nagios
- Original Message -
From: Jim Avery
We accomplish this at our end with the mod_gearman addon.
What we do is the following:
* Set all the services that need limiting together in one servicegroup
* Get mod_gearman up and running and have at least one mod_gearman_worker node
(it may run on the nagios server or on another machine)
*
I have an rpm with the patch included for epel6/x86_64 right here:
http://pall.sigurdsson.is/filez/nagios-3.5.0/
It fixed same problem for me.
Can someone please prod the nagios dev team to release a new version that fixes
the bug ?
Kind regards,
Pall Sigurdsson
- Original Message
Alternatively, do this to install nagios on ubuntu 12.04:
# apt-get install nagios3 nagios-plugins
The packages are quite good, and imho there is nothing quick about that
quickstart guide.
Kind regards,
Pall Sigurdsson
- Original Message -
From: Gavin Grieve [DATACOM]
+like on moving to git.
To celebrate i sent you a micro pull request on github.
- Palli
- Original Message -
From: Andreas Ericsson a...@op5.se
To: nagios-devel nagios-de...@lists.sourceforge.net,
Nagios-users@lists.sourceforge.net
Sent: Tuesday, May 14, 2013 1:48:15 PM
Subject:
Put your ARG in quotes. So it looks like this:
$USER1$/check_http -H '$ARG1$' -s '$ARG2$' -w 10 -c 20
Then it will handle spaces.
Alternatively, you can use custom variables to a check command that is more
complex, but in return your service definitions will become much more readable.
Check out mod_gearman for this scenario.
You man in the middle machine (which will be linux, not windows) makes an
outbound connection to the nagios server and runs all checks that are meant for
the far end hosts.
- Original Message -
From: Michael Lopez mata...@gmail.com
To:
The posts inspired me to write downtime support in pynag command-line utility.
Works both via livestatus or more traditional writing directly to nagios
command pipe.
I dont mean to make this mailing list a pynag announcement one, but considering
the questions brought i thought others might
If you have pynag installed this script might help you along. It will clear all
downtimes unless you uncomment some of the filters:
#!/usr/bin/python
import pynag.Parsers
import pynag.Control.Command
livestatus = pynag.Parsers.mk_livestatus()
downtimes = livestatus.query('GET downtimes')
To: Nagios Users List nagios-users@lists.sourceforge.net
Cc: Páll Guðjón Sigurðsson pa...@ok.is, Nagios Developers List
nagios-de...@lists.sourceforge.net
Sent: Saturday, February 9, 2013 5:48:29 PM
Subject: Re: [Nagios-users] distributable downtime delete commands?
On 02/08/2013 04:32 AM, Páll
Thanks a lot Paul,
We have been achieving the same goals with pynag scripts and DEL_SVC_DOWNTIME
command.
Is there anyone on the list that might take it into their hands to keep
documentation up to date, maybe even write a routine in nagios to ask for every
supported external command, so that
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
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
Pepe,
Nagios design does not allow for this. Plugins are executed without any user
being logged in the web interface so a plugin has no idea which user is going
to look at the results later on.
What you can do instead is define multiple service checks, with secretary
only having access to
Hello everyone,
This is a call for testers on our new Nagios web configuration utility. We use
pynag as our underlying library to configure nagios in-place.
We would love feedback from any interested party to help us iron out bugs and
ideas on what Nagios tasks currently take to much of your
16 matches
Mail list logo