RE: [Nagios-users] NSCA kinda... Monitored host to Nagios server info

2006-04-25 Thread Morris, Patrick
This sounds like it may be similar to a situation I deal with -- I monitor a bunch of databases that shut down nightly to sync up with other DBs, and the DB is down while this happens. What I do is use nagios-statd to check if the db sync process is running, and set a check to a warning state if i

Re: [Nagios-users] Pgsql host list and check_ping

2006-04-25 Thread Hugo van der Kooij
On Tue, 25 Apr 2006, Shawn Holland wrote: > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > My Linux server has a Postgres database that has a table containing all > devices on the network with their IP address and host name. > > I was wondering what a recommended way to al

Re: [Nagios-users] NSCA kinda... Monitored host to Nagios server info

2006-04-25 Thread Trask
On 4/25/06, Richard A Nelson <[EMAIL PROTECTED]> wrote: > > I've got a medium site monitored with Nagios, and really like the > changes in V2 :) > > Here's one thing I have not been able to figure out how to handle: > > I monitor service X on about a dozen machines > Some of those machines run test

[Nagios-users] NSCA kinda... Monitored host to Nagios server info

2006-04-25 Thread Richard A Nelson
I've got a medium site monitored with Nagios, and really like the changes in V2 :) Here's one thing I have not been able to figure out how to handle: I monitor service X on about a dozen machines Some of those machines run testcases, which interfere with service X 1) I want to stop not

[Nagios-users] Plugin Problems

2006-04-25 Thread Ron Wilson
Title: Plugin Problems I have a problem with Perl plugins. Every few weeks Nagios complains because the Perl plugins like check_snmp_win.pl fail to work and provide no data to Nagios which promptly sends out dozens of alerts. The only way I can seem to fix it to reboot server. All other Nagio

[Nagios-users] Pgsql host list and check_ping

2006-04-25 Thread Shawn Holland
Hi, I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. My Linux server has a Postgres database that has a table containing all devices on the network with their IP address and host name. I was wondering what a recommended way to allow Nagios to use this list and do a check_pin

Re: [Nagios-users] Nagios error

2006-04-25 Thread Jim Perrin
On 4/25/06, Ravi Kumar <[EMAIL PROTECTED]> wrote: > > I've been noticing following error messages during nagios access.Please > advice. > Whoops! > Error: Could not read object configuration data! > Here are some things you should check in order to resolve this error: > > > Verify configuration opt

[Nagios-users] Nagios error

2006-04-25 Thread Ravi Kumar
I've been noticing following error messages during nagios access.Please advice. Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors.

RE: [Nagios-users] Acknowledgement triggered actions

2006-04-25 Thread Tedman Eng
Can you change one of your contacts to use a different notification command? Something like this: define command{ command_namehost-notify-normal command_linenotify.sh "normal" "$HOSTNAME$" "$HOSTSTATE$"} define command{ command_namehost-notify-with-actions

[Nagios-users] timing of local event handlers and notifications?

2006-04-25 Thread Rich
The documentation states that "global event handlers are executed before any local event handlers that you have configured for specific hosts or services", however, I can't find any documentation on when notifications are sent in relation to local event handlers.   If I have a redundant nagios ser

RE: [Nagios-users] nagios 1.2 and permissions issues

2006-04-25 Thread Janet Post
I have used nagios -v to check the configuration and I receive 32 warnings and 0 errors. I have restarted nagios: /etc/init.d/nagios restart It seems to be very selective of what it will show me: I can view host detail for example (status.cgi?hostgroup=all&style=hostdetail) but not a service g

[Nagios-users] check_mrtg always returns unknown (#3)?

2006-04-25 Thread Scott Baker
I'm trying to make sure that my MRTG program is running, and updating data. I think I want to use the check_mrtg function to do that. I'm *only* interested in whether the MRTG is running. Here's the syntax I'm using. ./check_mrtg -F /path/cpu.log -a MAX -v 1 -w 100 -c 200 -e 10 -l "CPU Usage" -u %

Re: [Nagios-users] nagios 1.2 and permissions issues

2006-04-25 Thread Jason Martin
On Tue, Apr 25, 2006 at 11:52:47AM -0400, Janet Post wrote: > I have just inherited a fairly large 1.2 Nagios setup to maintain. It > contains over 1500 services and 1000 hosts, and I need to add several > more and crop a number that are no longer active. > > Everything works fine until I edit th

RE: [Nagios-users] nagios 1.2 and permissions issues

2006-04-25 Thread Morris, Patrick
Several things can cause this, the most likely being (in my opinion) that Nagios isn't running. Use nagios -v [nagios config file] to verify your config's not broken, and make sure to reload it before hitting the web interface. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

[Nagios-users] nagios 1.2 and permissions issues

2006-04-25 Thread Janet Post
Hello Everyone. I have just inherited a fairly large 1.2 Nagios setup to maintain. It contains over 1500 services and 1000 hosts, and I need to add several more and crop a number that are no longer active. Everything works fine until I edit the hosts.cfg file. I tried commenting out a host (and

RE: [Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized

2006-04-25 Thread Mark.Law
>From the command line "net start" returns "SQL Server (MSSQLSERVER)" without >the quotes for the SQL service. I wrote a short script that does the service check below with this result (it only seems that the SQL stuff is failing) Testing: SQL Server (MSSQLSERVER) SQL Server (MSSQLSERVER): Unkn

RE: [Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized

2006-04-25 Thread Davy Gaussen
Are you sure that the ServiceName is MSSQLSERVER only ? Usually, these kind of services have MSSQLSERVER$$YOURBASENAME type of name. Go to : services.msc, then edit properties on your service and check out the ServiceName parameter. And do you want to test the process or the service SQL in your

Re: [Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized

2006-04-25 Thread Thibault Genessay
[EMAIL PROTECTED] wrote: Has anyone run into a problem with NC_NET not being able to see running SQL processes on Windows 2003 machines? The "net start" command shows the server running as "SQL Server (MSSQLSERVER)", but this test always fails under NC_NET. Any help appreciated. I don't kn

[Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized

2006-04-25 Thread Mark.Law
Has anyone run into a problem with NC_NET not being able to see running SQL processes on Windows 2003 machines? The "net start" command shows the server running as "SQL Server (MSSQLSERVER)", but this test always fails under NC_NET. Any help appreciated. -

[Nagios-users] Acknowledgement triggered actions

2006-04-25 Thread Kyle Tucker
Hi all, I have modified my notifications command such that it checks that if $NOTIFICATIONTYPE = "ACKNOWLEDGEMENT" then I am kicking off a couple actions; a snmpget and then an external Nagios command to submit the service check. But it runs the notification command for each recipient and

Re: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Kurt Yoder
Also ensure you are running the command using the same environment that nagios is using. For instance, if your nagios process runs as user "nagios", you should `su - nagios` before running the command. That will allow you to exactly replicate what is happening when nagios attempts to run th

Re: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread moshe sharon
hi   if you want to see exactly whats going on compile / configure your nagios with --enable-DEBUGALL   Moshe Sharon  On 4/25/06, Jan Bessels <[EMAIL PROTECTED]> wrote: >>> Deborah Martin <[EMAIL PROTECTED] > 25-4-2006 13:49:58As an example, if you run the following command-line from wherever

RE: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Jan Bessels
>>> Deborah Martin <[EMAIL PROTECTED]> 25-4-2006 13:49:58 >>> >As an example, if you run the following command-line from wherever you have >the plugins installed :- >./check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 1 >you would get the following output which Nagios can understand :-

RE: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Deborah Martin
Have you tried manually running the plugin on the command-line ? 'No output' usually means Nagios doesn't get a result back that it understands. A manual test of the plugin may tell you why... -Original Message- From: Jan Bessels [mailto:[EMAIL PROTECTED] Sent: 25 April 2006 12:16 To:

[Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes.

2006-04-25 Thread Jan Bessels
Using Nagios 2.1. When adding things to the .cfg files sometimes things go wrong. The output of a plugin is then for example 'No output'. This is NOT very usefull at all. It would be usefull to see which cmd is really being executed. Am I missing here something or. Older msgs on the mailingli

RE: [Nagios-users] Reportings CGI's -- where do they get their information from and how to 'reset'

2006-04-25 Thread Jan Bessels
I want to thank both of you for answering my question. Deleting all *.dat files is to drastic I think. This will also delete the comments.dat and downtime.dat file. Afaik they don't have anything to do with reporting. Did some more RTFM (now that I know where to look) and did come up with the foll

Re: [Nagios-users] Re: nsclient++ configuration, i am lost

2006-04-25 Thread ThomasC.
Ok so the port conflict is solved. But not the syntaxic one. ../libexec/check_nrpe -H catorsv03 -p 5667 -c check_exchangeDB -a MaxWarn=15G MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" OK all file sizes are within bounds.|'"