Re: [Nagios-users] pnp4nagios - Hostname not set

2011-06-10 Thread Tristan Drinkwater
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at] Sent: 09 June 2011 22:27 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios - Hostname not set On 09.06.2011 18:30, Tristan Drinkwater wrote: Hi guys, I've followed the install instruction from here (http

[Nagios-users] pnp4nagios - Hostname not set

2011-06-09 Thread Tristan Drinkwater
?? Any tips on how I can drill down further to see what's not happing and why? Thanks in advance :) Regards, Tristan Drinkwater Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282

[Nagios-users] Reporting emails

2011-06-06 Thread Tristan Drinkwater
Hey guys, I'm fairly new to Nagios and I'm monitoring about 100 hosts, each doing several checks and things are going great. I'd like to take things up a notch by somehow getting emailed report daily and weekly to tell me what host/services where down, when and for how long? In essence I'm

[Nagios-users] ndoutils 1.4b9 - Mysql Library not found

2011-05-11 Thread Tristan Drinkwater
Hi guys, I'm looking to start filling a database for every alert that Nagios makes. I've come across the ndoutils but when I try to ./configure the install it keeps telling me that it can't find the mysql library's. I have tried the --with-mysql=/usr/lib/mysql and I've checked that the library

Re: [Nagios-users] ndoutils 1.4b9 - Mysql Library not found

2011-05-11 Thread Tristan Drinkwater
the mysql headers installed (mysql-devel.rpm or something similar)? regards ranjib On Wed, May 11, 2011 at 2:34 PM, Tristan Drinkwater trist...@micro-p.commailto:trist...@micro-p.com wrote: Hi guys, I'm looking to start filling a database for every alert that Nagios makes. I've come across

Re: [Nagios-users] ndoutils 1.4b9 - Mysql Library not found

2011-05-11 Thread Tristan Drinkwater
Arh, all ok now. I was still using the command switch after installing the devel package. A straight up ./configure show the lib as found. All's good. ) From: Tristan Drinkwater [mailto:trist...@micro-p.com] Sent: 11 May 2011 12:45 To: Nagios Users List Subject: Re: [Nagios-users] ndoutils

[Nagios-users] check_http encrypted link

2011-05-09 Thread Tristan Drinkwater
Hey guys, I'm struggling to check a http link that's encrypted. The full url works ok in a browser but I get 'unable to open a TCP socket' error when I run 'check_http -H domain/encrypted link' from the command line. I've also tried 'check_http -H domain -u /encrypted link but that's not

[Nagios-users] check event log

2011-02-21 Thread Tristan Drinkwater
Morning all (depending where you are in the world..) I'm trying to catch all error and warning logs from application event folder but I'm struggling with the filter+generated bit. In a nut shell all I want is anything red that happened within the last 24 hours. Here is my syntax I'm running

[Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
: [Nagios-users] nrpe CheckEventLog On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater trist...@micro-p.com wrote: Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
Arh, no got it I uncommented the lines in the ini file but didn't change their values from 0 to 1. Not to worry. Thanks all :) -Original Message- From: Tristan Drinkwater [mailto:trist...@micro-p.com] Sent: 16 February 2011 13:13 To: Nagios Users List Subject: Re: [Nagios-users

[Nagios-users] Check_snmp -d -s

2011-02-11 Thread Tristan Drinkwater
Morning all, I'm trying to refine a few snmp checks I do. My command looks like this; ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive -P 2c -v This produces the following; /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.1

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Tristan Drinkwater
Hi, I have just tried that not but dice. :( -Original Message- From: Giles Coochey [mailto:gi...@coochey.net] Sent: 11 February 2011 11:25 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp -d -s On 11/02/2011 12:08, Tristan Drinkwater wrote: Morning all

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Tristan Drinkwater
) # echo $check # return result if CRITICAL if [[ $check == *dead* ]] then echo Disk OFFLINE - CRITICAL; exit 2 fi # return result if OK if [[ $check == *ok* ]] then echo Disk Online - OK; exit 0 fi # end script -Original Message- From: Tristan Drinkwater