RE: [Nagios-users] Notification problem

2006-01-05 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Matt Hanley Sent: Wednesday, January 04, 2006 2:24 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Notification problem I'm having trouble diagnosing a problem with

Re: [Nagios-users] Commands after a service/host failure

2006-01-05 Thread Jason Martin
On Thu, Jan 05, 2006 at 12:09:43PM -0600, Chris McKeever wrote: Is there a way to execute code after a service failure? Look up 'event handlers' in the docs, they do this. -Jason Martin -- It is ten o'clock; do you know where your processes are? This message is PGP/MIME signed.

RE: [Nagios-users] Commands after a service/host failure

2006-01-05 Thread Cook, Garry
Event Handlers. http://nagios.sourceforge.net/docs/2_0/eventhandlers.html Thanks,Garry From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris McKeeverSent: Thursday, January 05, 2006 11:10 AMTo: nagios-users@lists.sourceforge.netSubject: [Nagios-users] Commands after a

RE: [Nagios-users] bigger.cfg

2006-01-05 Thread Tedman Eng
Also, make sure you've updated your other .cfg files (checkcommands, misccommands, etc) with new macro names. See: http://nagios.sourceforge.net/docs/2_0/whatsnew.html -Original Message- From: Rene Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 9:57 AM To:

Re: [Nagios-users] monitoring F5 BigIP

2006-01-05 Thread Eli Stair
Just a suggestion, you might want to try polling that info with Cacti and then get the service states from the cacti rrd's in Nagios. I assume that info is manifested in the F5 Enterprise MIB, and probably well-documented. Search around and you'll find the check_rrd_* scripts for pulling

Re: [Nagios-users] bigger.cfg

2006-01-05 Thread Jason Martin
On Thu, Jan 05, 2006 at 10:56:46AM -0700, Rene Nelson wrote: It is my understanding in nagios 2.0beta and beyond that we can use one single cfg file for hosts, definitions, escalations, contacts, You've always been able to put all of those objects together, and order is not significant. In the

RE: [Nagios-users] bigger.cfg

2006-01-05 Thread Marc Powell
Please always respond on list so that others may benefit from your experience. [moving top-post to inline comment] On 1/5/06, Marc Powell [EMAIL PROTECTED] wrote: [chop] It sounds like you've got a typo or other issue that's throwing the parser off (missing close bracket, file

RE: [Nagios-users] Commands after a service/host failure

2006-01-05 Thread David Johnson
Yes monit another monitoring tool might be better suited for that. We use Debian and it is easily installed and configured. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris McKeever Sent: Thursday, January 05, 2006 12:10 PM To:

RE: [Nagios-users] softstates and retry check intervals

2006-01-05 Thread Tedman Eng
define service{ use generic-service host_name Linux-PBX service_description PBX-Asterisk process check_command check_snmp_process!asterisk } I don't see NRPE in your

Re: [Nagios-users] bigger.cfg

2006-01-05 Thread Rene Nelson
Worked! ThanksOn 1/5/06, Marc Powell [EMAIL PROTECTED] wrote: Please always respond on list so that others may benefit from yourexperience.[moving top-post to inline comment] On 1/5/06, Marc Powell [EMAIL PROTECTED] wrote: [chop]It sounds like you've got a typo or other issue that's

[Nagios-users] check_mysql

2006-01-05 Thread Rene Nelson
I want to check this via check_by_ssh, but do not want to use the root user nor password. (not too excited about leaving it in a clear text .cfg file) Is there a way to get the same information using a read-only user with no password? Is there a best practices for Check_MySQL via check_by_ssh?

RE: [Nagios-users] check_mysql

2006-01-05 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Rene Nelson Sent: Thursday, January 05, 2006 3:48 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_mysql I want to check this via check_by_ssh, but do not want

Re: [Nagios-users] check_mysql

2006-01-05 Thread John P. Rouillard
In message [EMAIL PROTECTED], Marc Powell writes: check_by_ssh only allows for host-key based authentication methods, not password so one issue is already taken care of. What I did was use ssh-agent to keep the decrypted password. I had hacked check_by_ssh (I no longer have access to the hacks)

RE: [Nagios-users] Sending SNMP traps from Nagios

2006-01-05 Thread Tedman Eng
Your snmptrap command would look something like this: /usr/bin/snmptrap -v 2c -c public snmpmanager '' \ .1.3.6.1.4.1.20006.1.5 \ .1.3.6.1.4.1.20006.1.1.1.2 s $HOSTNAME$ \ .1.3.6.1.4.1.20006.1.2.1.1 i $HOSTSTATEID$ \ [OID] [TYPE] [VALUE]... If you had a server MyServer go down, and notifications

Re: [Nagios-users] softstates and retry check intervals

2006-01-05 Thread Tharanga
Hello, Yes..i didnt include the nrpe thing here.but even for asterisk process it gives crtical when first check fail. i need to recheck 3 times and throw the critical alert..i think this can used to prevent NRPE time out over WAN link to trigger false alarms. thanks in advance Tharanga -

RE: [Nagios-users] check_mysql

2006-01-05 Thread Tedman Eng
We use a lot of ssh-based checks. Compiling nrpe is difficult to do on some linux-based appliances or other locked-down devices. Most of our checks are custom scripts that execute ssh-based remote commands. Though not check_mysql specific, here's some guidelines we follow: 1a) Disable root