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

2013-01-04 Thread Andy Moran
nowledged'] > == '0' ] > > print len(unhandled_problems) > > > > If your script is not running on the nagios server itself, consider using > mklivestatus to get the total number of problems (either shell script or > pynag) > > Kind regards, > Pa

[Nagios-users] parsing tac.cgi output

2013-01-02 Thread Andy Moran
Does tac.cgi have a way to output JSON or XML or another machine-parsable output? Specifically I'm looking to have an external script query the number of un-acknowledged critical problems in the nagios cluster. Apologies if this has been asked before. Cheers! --Andy -

[Nagios-users] nrpe producing odd garbage in output?

2009-12-14 Thread Andy Moran
Run remotely, odd garbage returned: obfuscatedserver:~ amoran$ sudo -u nagios /opt/local/libexec/nagios/check_nrpe -H obfuscatedclient -c check_load -a 5.0,4.0,3.0 20.0,15.0,10.0 WARNING - load average: 5.28, 5.00, 4.78|load1=5.285;5.000;20.000;0; load5=5.003;4.000;15.000;0; load15=4.785;3.000;

Re: [Nagios-users] check_disk question

2008-07-09 Thread Andy Moran
wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/08 01:40 PM, Andy Moran wrote: Thanks for the response. I updated to the latest plugins (1.4.12), but still seeing negative numbers: nenc001:~ root# /opt/local/libexec/nagios/check_disk --version check_disk v1991 (nagios-plugins

Re: [Nagios-users] check_disk question

2008-07-01 Thread Andy Moran
;671582;755530;0;839478 nenc001:~ root# Is there a workaround? --Andy On Jun 30, 2008, at 7:13 PM, Thomas Guyot-Sionnest wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/06/08 08:39 PM, Andy Moran wrote: My check_disk seems to be returning negative values for monitoring a netapp filer from

[Nagios-users] check_disk question

2008-06-30 Thread Andy Moran
My check_disk seems to be returning negative values for monitoring a netapp filer from a Leopard machine: [EMAIL PROTECTED] ~$ /opt/local/libexec/nagios/check_disk --version check_disk v1793 (nagios-plugins 1.4.10) [EMAIL PROTECTED] ~$ df -h /opt/itms_f40v6 Filesystem Size

Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Andy Moran
le to follow the NRPE.pdf file instructions as if I were installing on a linux server? Thanks again! Lucas From: Andy Moran [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 4:31 PM To: Lucas Fritz Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring OSX 10.4 S

Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Andy Moran
The easiest way is to install macports from http://www.macports.org/ and simply run "port install nrpe" --Andy On Jan 17, 2008, at 4:03 PM, Lucas Fritz wrote: Nagios-Users, Are there any definitive guides for monitoring a remote OSX 10.4 Server? Ideally I’d like to do a minimum of con

Re: [Nagios-users] Question about Next Scheduled Active Check

2007-08-01 Thread Andy Moran
Cancel that. PEBKAC --Andy On Aug 1, 2007, at 6:31 PM, Andy Moran wrote: > > Okay I spoke too soon. I'm on Nagios 2.9, which I understand the > "Check For Orphaned Services" is on by default, and yet I'm still > getting services left behind which have a &qu

Re: [Nagios-users] Question about Next Scheduled Active Check

2007-08-01 Thread Andy Moran
happening? --Andy On Jul 23, 2007, at 4:43 PM, Andy Moran wrote: > > Thanks guys.. upgrading to 2.9 which has orphan checks on by default > fixed the problem. > > --Andy > > On Jul 23, 2007, at 11:38 AM, Hugo van der Kooij wrote: > >> On Mon, 23 Jul 2007, Andy Moran w

Re: [Nagios-users] Question about Next Scheduled Active Check

2007-07-23 Thread Andy Moran
Thanks guys.. upgrading to 2.9 which has orphan checks on by default fixed the problem. --Andy On Jul 23, 2007, at 11:38 AM, Hugo van der Kooij wrote: > On Mon, 23 Jul 2007, Andy Moran wrote: > >> I'm running Nagios 2.4. Is this a known issue that's fixed in later >

[Nagios-users] Question about Next Scheduled Active Check

2007-07-23 Thread Andy Moran
Occasionally my nagios installation will stop checking some tests.. When I look, it'll say "Next Scheduled Active Check" with a time in the past, or sometimes "N/A".Restarting Nagios seems to fix the issue. I'm running Nagios 2.4. Is this a known issue that's fixed in later versio

[Nagios-users] Vacation notification rant

2007-02-23 Thread Andy Moran
Okay completely off topic, but I've noticed the few times I've emailed this list that I'll get 4 or 5 "Away from email" messages.. often in different languages. If you are using an auto-responder that is too stupid to honor the "Precedence: List" mail header, then perhaps you shouldn't be

Re: [Nagios-users] NRPE services for OS X servers

2007-02-22 Thread Andy Moran
macports (formerly darwinports) provides nagios and nrpe for OS X. http://www.macports.org/ You don't have to install macports on your servers.. you can install it on a local mac, then do a "port install nrpe". This will install it into /opt/local . You can then tar up that and distribut

Re: [Nagios-users] Contact definitions and multiple email addresses?

2007-02-22 Thread Andy Moran
Thanks for your help. You rock. :) --Andy On Feb 22, 2007, at 11:40 AM, Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of Andy Moran Sent: Wednesday, February 21, 2007 7:05 PM To: nagios-users

Re: [Nagios-users] Contact definitions and multiple email addresses?

2007-02-21 Thread Andy Moran
users- [EMAIL PROTECTED] On Behalf Of Andy Moran Sent: Wednesday, February 21, 2007 4:49 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Contact definitions and multiple email addresses? Can a contact definition contain a list of email addresses, and if so, will Nagios

[Nagios-users] Contact definitions and multiple email addresses?

2007-02-21 Thread Andy Moran
Can a contact definition contain a list of email addresses, and if so, will Nagios email them all? e.g. define contact{ contact_namejdoe alias John Doe service_notification_period 24x7 host_notification_period