[Nagios-users] R: R: R: nsclient++ and nrpe commands

2009-10-05 Thread Marco Borsani
Hi I setted the full path (C:\program files\) in this way, tha batch did not work at all . I try also to put an �...@exit 0” at the end of ths script, notting changed. Any other ideas ? Marco Da: Natxo Asenjo [mailto:natxo.ase...@gmail.com] Inviato: lunedì 5 ottobre 2009 18

[Nagios-users] nagios time event error

2009-10-05 Thread shadih rahman
All, I am seeing the following error. I saw some issues mentioned about this on version 2. Can anyone advise on this. Thanks [Sun Oct 4 02:00:57 2009];Warning: A system time change of 0d 1h 19m 53s (forwards in time) has been detected. Compensating... [Mon Oct 5 02:01:56 2009];Warning: A

Re: [Nagios-users] Windows SNMP service crashing during Nagios monitoring

2009-10-05 Thread Morris, Patrick
Michael Ward wrote: > I've played the netstat game on windows, and like you, I'm not a > windows admin either (as my primary). Gimme a *nix, syslog, and gdb > anyday... > > I've also looked at that TechNet article... > > > Thanks > > On Oct 5, 2009, at 8:39 PM, Jake wrote: > > >> On Mon

Re: [Nagios-users] Windows SNMP service crashing during Nagios monitoring

2009-10-05 Thread Michael Ward
I've played the netstat game on windows, and like you, I'm not a windows admin either (as my primary). Gimme a *nix, syslog, and gdb anyday... I've also looked at that TechNet article... Thanks On Oct 5, 2009, at 8:39 PM, Jake wrote: > On Mon, Oct 5, 2009 at 4:59 PM, Michael Ward >

Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues, etc.. ??

2009-10-05 Thread Kevin Keane
I've heard occasional reports of that happening. A couple things to check: - Make sure you applied all the latest updates and patches to Windows (not just the critical or important ones that are installed automatically, but also the optional ones). The plugin depends on some recent versions of

[Nagios-users] Windows SNMP service crashing during Nagios monitoring

2009-10-05 Thread Michael Ward
I've got two Windows 2003 Dell servers with OSMA installed being monitored via SNMP (public read string) by Nagios that have the SNMP service sporadically stop. My other servers are working fine with the same monitoring setup. The error report to be sent to Microsoft contains: szAppName

Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread Marc Powell
On Oct 5, 2009, at 2:09 PM, James Pratt wrote: > Well, look on the bright side - It's not that big of a perl script - > you can likely modify it to suit your specific need(s). :) and it appears to be a very very trivial change to boot (but will break some functionality without further chang

Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread James Pratt
Well, look on the bright side - It's not that big of a perl script - you can likely modify it to suit your specific need(s). :) >> -Original Message- >> From: Matt Baer [mailto:m...@baerconsult.com] >> Sent: Monday, October 05, 2009 2:43 PM >> To: nagios-users >> Subject: Re: [Nagios-use

[Nagios-users] Auto housekeeping for nagios-3.2.0

2009-10-05 Thread shadih rahman
All, are there any auto housekeeping done on nagios? After I have updated my nagios installation to 3.2.0. I am seeing nightly performance issue around midnight to 2:30 am. Please advise on this. Nagios-3.2.0 ndoutils-1.4b8 Check Execution Time: 0.00 sec60.01 sec0.247 sec Check Latency:0.

Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread Matt Baer
For the most part, this works. However, the problem is that it requires that ALL open ports be accepted as parameters. I want to specify the ports to check. For example, if port 8081 is open, it may not always be open, then I get the stupid notification. I don't want to monitor port 8081, I want

Re: [Nagios-users] The reason of commands.cfg.

2009-10-05 Thread Noel Platzke
Say we have a bunch of servers that need multiple checks that do an HTTP GET on different URIs and look for a specific string in the response. Isn't it easier to maintain a single command that takes a few arguments than having to constantly define a new command that does basically the same thing fo

[Nagios-users] The reason of commands.cfg.

2009-10-05 Thread Albert Shih
Hi all, I would like to known why (just the historic reason) in nagios we split the definition of the macros and the definition of a service ? For example : When we want to monitor a pop service we create define command { command_namecheck_pops command_line/usr/lib/nagio

Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues, etc.. ??

2009-10-05 Thread Mirza Dedic
Hi Kevin, I have downloaded your TNT plugins 1.2.4-x64 for my x64 Win2003 R2, however when I try to run something like "check_exchange" from the command prompt to see any output I get... C:\NSClient\tnt_plugins_1.2.4-x64>check_exchange.exe The system cannot execute the specified program. Any i

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
Problem solved. It had to do with nsca. When the script was executed from one of the slave servers it never passed the output back to the master. I updated my nsca script and it works fine now. On Mon, Oct 5, 2009 at 12:10 PM, Noel Platzke wrote: > The custom plugin is being called via the chec

Re: [Nagios-users] R: R: nsclient++ and nrpe commands

2009-10-05 Thread Natxo Asenjo
On Mon, Oct 5, 2009 at 3:23 PM, Marco Borsani wrote: > Excuse me , I did not wrote the real error message I am receiving. > > > > I run from nagios server: > > ./check_nrpe -H -c disk0 > > And receive this: > > 'check_openmanage.exe' is not recognized as an internal or external > command, opera

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
The custom plugin is being called via the check_by_ssh plugin and $SERVICEOUTPUT$ is captured just fine. If I run it by hand it gives the expected results. On Mon, Oct 5, 2009 at 12:04 PM, Marc Powell wrote: > Please always respond on list. More below -- > > On Oct 5, 2009, at 10:45 AM, Noel

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Marc Powell
Please always respond on list. More below -- On Oct 5, 2009, at 10:45 AM, Noel Platzke wrote: > I'm looking for it to be captured in the $LONGSERVICEOUTPUT$ macro. > Where else would it be? That will capture anything after the first line of text but if you're looking for it as part of a host

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Marc Powell
On Oct 5, 2009, at 10:01 AM, Noel Platzke wrote: > I have a custom plugin that prints a small bit of data when it exits > but for some reason it's not being captured by nagios. Captured where? I.E. where/how are you looking for it? > I read that there's a 4k byte limit but the data I'm printi

[Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
I have a custom plugin that prints a small bit of data when it exits but for some reason it's not being captured by nagios. I read that there's a 4k byte limit but the data I'm printing is very very small, only a few lines so I shouldn't be hitting that limit. I altered the script to write the data

Re: [Nagios-users] R: nsclient++ and nrpe commands

2009-10-05 Thread Michael Medin
Hello, There is a guide for how to set things up (via NRPE) here: http://nsclient.org/nscp/wiki/doc/usage/nagios/nrpe // Michael Medin Marco Borsani wrote: > > I upgrade to nsclient++ 0.3.6.4 but I always receive: > > > > UNKNOWN: No handler for that command > > > > Marco > > > > *Da:* N

[Nagios-users] R: R: nsclient++ and nrpe commands

2009-10-05 Thread Marco Borsani
Excuse me , I did not wrote the real error message I am receiving. I run from nagios server: ./check_nrpe -H -c disk0 And receive this: 'check_openmanage.exe' is not recognized as an internal or external command, operable program or batch file. The nsc.ini file there are all the paramet

Re: [Nagios-users] R: nsclient++ and nrpe commands

2009-10-05 Thread Natxo Asenjo
-- Groeten, J.Asenjo On Mon, Oct 5, 2009 at 12:23 PM, Marco Borsani wrote: > I upgrade to nsclient++ 0.3.6.4 but I always receive: > > > > UNKNOWN: No handler for that command > if you read my last message you see the answer to that error ... ps: after any modification to the nsc.ini file,

Re: [Nagios-users] How to monitor a linux file opened & closedstatus using Nagios

2009-10-05 Thread Marc Powell
On Oct 4, 2009, at 11:36 PM, Selvakumar A wrote: > > Hi, >Thanks a lot.I checked with the "lsof" command.It gives the > number of opened files via shell,VI editor.But when I open a file > through GNOME text editor the "lsof" command does not give the > status of the file opened by GNOM

[Nagios-users] R: nsclient++ and nrpe commands

2009-10-05 Thread Marco Borsani
I upgrade to nsclient++ 0.3.6.4 but I always receive: UNKNOWN: No handler for that command Marco Da: Natxo Asenjo [mailto:natxo.ase...@gmail.com] Inviato: sabato 3 ottobre 2009 16.21 A: Marco Borsani Cc: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] nsclient++ and nrpe

Re: [Nagios-users] Service dependency fun

2009-10-05 Thread Assaf Flatto
On Friday 02 October 2009 19:35:42 Randy Rodriguez wrote: > Hey all. Here's my situation, and my dilemma. I instituted a check of > the snmpd process on a group of hosts, all of which do snmp-based checks > of other services. I want to institute a dependency such that the snmp > checks do not

Re: [Nagios-users] Service Definition for Passive Only Reports

2009-10-05 Thread Getchell, Kristoffer M
Martin Thanks! This does exactly what I was hoping for. It seems so obvious now, yet is something I didn't even consider doing! Thanks for your input, you've saved me a lot of time. Cheers, Kris From: Martin Melin [mailto:mme...@gmail.com] Sent: 05 October 2009 09:54 To: nagios-user

Re: [Nagios-users] Service Definition for Passive Only Reports

2009-10-05 Thread Martin Melin
Are you using freshness checking? If not, try creating a time period "never" so that the active check is never scheduled. Otherwise you usually just want to set active_checks_enabled to 0 but I guess you don't want the CGIs to show that the checks are disabled? Regards Martin Melin On Mon, Oct 5,

Re: [Nagios-users] Service Definition for Passive Only Reports

2009-10-05 Thread Getchell, Kristoffer M
I should possibly add that we're using Nagios 3.0.6 on SLES 11 if that makes any difference. Cheers, Kris -Original Message- From: Getchell, Kristoffer M [mailto:k.getch...@kingston.ac.uk] Sent: 05 October 2009 00:16 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] S