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] Service Definition for Passive Only Reports

We have a number of service which I don't want Nagios to actively monitor, 
instead Nagios will be updated by passive alerts which are generated by the 
service itself.

I've currently got a service definition setup, but haven't figured out how to 
get the service to not have an active check associated with it without any 
warnings being issued in the tactical overview page.  At the moment what i've 
done is setup an active check that does nothing and set a long between times 
check.  However, this isn't ideal.

Has anyone else setup a passive only service and managed to get the tactical 
overivew interface to not complain about active checks not being enabled on a 
specific host/service?

Many thanks,




Kris

This email has been scanned for all viruses by the MessageLabs Email
Security System.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

This email has been scanned for all viruses by the MessageLabs Email
Security System.

This email has been scanned for all viruses by the MessageLabs Email
Security System.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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, 2009 at 10:01 AM, Getchell, Kristoffer M 
k.getch...@kingston.ac.uk wrote:

 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] Service Definition for Passive Only Reports

 We have a number of service which I don't want Nagios to actively monitor,
 instead Nagios will be updated by passive alerts which are generated by the
 service itself.

 I've currently got a service definition setup, but haven't figured out how
 to get the service to not have an active check associated with it without
 any warnings being issued in the tactical overview page.  At the moment what
 i've done is setup an active check that does nothing and set a long between
 times check.  However, this isn't ideal.

 Has anyone else setup a passive only service and managed to get the
 tactical overivew interface to not complain about active checks not being
 enabled on a specific host/service?

 Many thanks,




 Kris

 This email has been scanned for all viruses by the MessageLabs Email
 Security System.


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 This email has been scanned for all viruses by the MessageLabs Email
 Security System.

 This email has been scanned for all viruses by the MessageLabs Email
 Security System.


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Service Definition for Passive Only Reports

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, 2009 at 10:01 AM, Getchell, Kristoffer M 
k.getch...@kingston.ac.uk wrote:
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] Service Definition for Passive Only Reports

We have a number of service which I don't want Nagios to actively monitor, 
instead Nagios will be updated by passive alerts which are generated by the 
service itself.

I've currently got a service definition setup, but haven't figured out how to 
get the service to not have an active check associated with it without any 
warnings being issued in the tactical overview page.  At the moment what i've 
done is setup an active check that does nothing and set a long between times 
check.  However, this isn't ideal.

Has anyone else setup a passive only service and managed to get the tactical 
overivew interface to not complain about active checks not being enabled on a 
specific host/service?

Many thanks,




Kris

This email has been scanned for all viruses by the MessageLabs Email
Security System.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

This email has been scanned for all viruses by the MessageLabs Email
Security System.

This email has been scanned for all viruses by the MessageLabs Email
Security System.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


This email has been scanned for all viruses by the MessageLabs Email
Security System.

This email has been scanned for all viruses by the MessageLabs Email
Security System.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 notify if the snmpd check fails.  Simple, no?  Here's my
 service dependency cfg:

 define servicedependency{
 hostgroup_name  all_servers
 service_description snmp_svc
 dependent_service_description   snmp_*
 execution_failure_criteria  n
 notification_failure_criteria   c,u
 }

 I've also tried it like this:

 define servicedependency{
 hostgroup_name  all_servers
 service_description snmp_svc
 dependent_servicegroup_name snmp_checks
 execution_failure_criteria  n
 notification_failure_criteria   c,u
 }

 and both fail in the same way.  The error is
 Error: Could not expand master services specified in service dependency
 (config file '/usr/local/nagios/etc/objects/service_dependencies.cfg',
 starting on line 1)

 Clearly I'm missing something.  Any help appreciated.

 Nagios 3.0.6, btw.

 Thanks,
 -Randy


From what i can see in your definition , you specified that the dependency is 
for all your servers , 
but in you explanation of the problem you say that you defined it on a group , 
in that group is 
called all_servers , that is ok , but if not and you are adding the dependency 
to a server that 
does not have the snmp checks related to , the load verification will fail .

also in the first example of the definitions ,  snmp_* is not a valid 
parameter , * is a 
standalone all encompassing  declaration  , you'll need to write each service 
name manually to 
include all snmp checks in to the dependency tree.

Assaf

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE






IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[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 commands

 

On Fri, Oct 2, 2009 at 4:58 PM, Marco Borsani m.bors...@it.net wrote:

Hi all

I use nsclient++ with standard commands via check_nt, all is ok.

Now I need to run some commands/plug-in (like checl_openmanage.exe), but I
don't find the correct sintax.

Right now I prepare a command inside NSC.ini file like these:
command[nsc_openmanage]=c:\nagios\check_openmanage.exe
nsc_open=scripts\check_openmanage.exe -v

When I try to call it from nagios server with: ./check_nrpe -H IPADDRESS -c
nsc_openmanage
I receive following error: CHECK_NRPE: Socket timeout after 10 seconds.


a socket timeout means it could not connect the nrpe port.

If you try this
 
nag...@nagios:/usr/local/nagios/libexec$ ./check_nrpe -H winxp01
I (0.3.2.9 2008-05-17) seem to be doing fine...

so without any commands to be run, it just checks whether the nrpe service
is ok.

If you try a not defined command in nsc.ini, like this:
nag...@nagios:/usr/local/nagios/libexec$ ./check_nrpe -H winxp01 -c test
UNKNOWN: No handler for that command

there is no 'test' command defined, so it gives me an UNKNOWN.

in your nsc.ini check that the NRPEListener.dll is enabled, the [NRPE]
section should look (at least) like this;

[NRPE]

port=5666

command_timeout=60

allow_arguments=1

socket_timeout=30

and your [NRPE Handlers] section should contain your allowed checks (here
only services and disks):

nrpe_CheckService=inject checkServiceState CheckAll exclude=SysmonLog

nrpe_CheckDriveSize=inject CheckDriveSize MinWarn=10% MinCrit=5% CheckAll
FilterType=FIXED FilterType=REMOTE


your nagios server must be allowed to query the nrpe server (check firewall
and allowed_hosts settings in nsc.ini)





NSClient++ works correctly with :
check_nt -H IPADDRESS -v 
check_nrpe -H IPADDRESS -c CheckCPU -a warn=80 crit=90 time=20m time=10s
time=4

My versions are:
Nsclient++ = 0.2.7 2007-03-06
Check_nrpe = 2.7.1

May you show me any NSC.ini files ?


your nsclient++ is quite old, you should try a newer one. For quesions about
nsclient++ the proper forum is the one at nsclient.org

 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 GNOME text Editor.
 It would be fine if a command gives the status of the file opened by  
 gnome text editor.

I don't use Gnome but I can say that lsof shows every open file on the  
system. If it's not shown, it's not opened. Perhaps gedit creates a  
tmp file while editing another file and 'edits' that. Perhaps there's  
some reliable relation to the name or location of the 'edited' file  
that you can use as inference. lsof can help you determine that.

--
Marc


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 m.bors...@it.net 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, I assume you restart the
nsclientpp service, obviously.

Marco


natxo
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[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 ip address -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 parameters you suggested me and the
command “disk0” is defined:

disk0=scripts\Disk0.bat

 

If you run Disk0.bat in MSdos shell, it works correctly. 

Is has only one raw (@check_openmanage.exe -v | find Physical Disk 0:0)

 

In the nsclientlog we read:

2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
command (disk0) returned an invalid return code: 255

 

I always restart nsclientpp when I modified the NSC.ini file.

 

Regards

Marco

 

Da: Natxo Asenjo [mailto:natxo.ase...@gmail.com] 
Inviato: lunedì 5 ottobre 2009 14.49
A: Nagios Users Mailinglist
Oggetto: Re: [Nagios-users] R: nsclient++ and nrpe commands

 


-- 
Groeten,
J.Asenjo



On Mon, Oct 5, 2009 at 12:23 PM, Marco Borsani m.bors...@it.net 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, I assume you restart the
nsclientpp service, obviously.

Marco


natxo

 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[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 to
an external file and it works fine. Nagios just isn't capturing it for some
reason. Is there some specific format the data needs to be in for it to be
picked up? Any ideas?
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 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 to an external file  
 and it works fine. Nagios just isn't capturing it for some reason.  
 Is there some specific format the data needs to be in for it to be  
 picked up? Any ideas?

There's no special format except for plain-text only and only output  
to STDOUT is captured (a normal echo or print). $SERVICEOUTPUT$ will  
contain the first line of text and $LONGSERVICEOUTPUT$ will contain  
anything after the first newline character.

--
Marc

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 notification (or elsewhere it's not  
supported), you're not going to find it. That's what I meant by 'where/ 
how are you looking for it'.

 All I'm doing is writing plaintext output to stdout but for some  
 reason nagios isn't picking it up. If I run the script by hand it  
 prints to stdout. If I change the output to a file it writes to the  
 file fine. But if the script is invoked by nagios it never sees the  
 output.

Does $SERVICEOUTPUT$ capture the first line of output of your script?  
If not, you probably need to provide more specific detail about nagios  
version, how you're calling your plugin from nagios (command{}  
definition, etc) and specifically how it's providing it's output for  
nagios to capture. The assumption to this point is that nagios is  
calling the plugin directly. Other methods can yield different results.

--
Marc


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 m...@ena.com wrote:

 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 notification (or elsewhere it's not
 supported), you're not going to find it. That's what I meant by 'where/how
 are you looking for it'.

  All I'm doing is writing plaintext output to stdout but for some reason
 nagios isn't picking it up. If I run the script by hand it prints to stdout.
 If I change the output to a file it writes to the file fine. But if the
 script is invoked by nagios it never sees the output.


 Does $SERVICEOUTPUT$ capture the first line of output of your script? If
 not, you probably need to provide more specific detail about nagios version,
 how you're calling your plugin from nagios (command{} definition, etc) and
 specifically how it's providing it's output for nagios to capture. The
 assumption to this point is that nagios is calling the plugin directly.
 Other methods can yield different results.

 --
 Marc


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 m.bors...@it.net wrote:

  Excuse me , I did not wrote the real error message I am receiving.



 I run from nagios server:

 ./check_nrpe -H ip address -c disk0

 And receive this:

 'check_openmanage.exe' is not recognized as an internal or external
 command, operable program or batch file.

ok, so the bat file disk0 is being executed. Try setting the full path to
check_openmanage.exe in the bat file because apparently it is not in the
path of your windows session.


 The nsc.ini file there are all the parameters you suggested me and the
 command “disk0” is defined:

 disk0=scripts\Disk0.bat

 If you run Disk0.bat in MSdos shell, it works correctly.

 Is has only one raw (@check_openmanage.exe -v | find Physical Disk 0:0)



 In the nsclientlog we read:

 2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
 command (disk0) returned an invalid return code: 255


you need to return valid error levels that nagios understand: 0 is 0k, 1 is
warning, 2 is critical and 3 is unknown. Otherwise nagios does not know what
to do with them.



 I always restart nsclientpp when I modified the NSC.ini file.

 good, just checking ;-)

natxo
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 neuf...@gmail.com wrote:

 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 m...@ena.com wrote:

 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 notification (or elsewhere it's not
 supported), you're not going to find it. That's what I meant by 'where/how
 are you looking for it'.

  All I'm doing is writing plaintext output to stdout but for some reason
 nagios isn't picking it up. If I run the script by hand it prints to stdout.
 If I change the output to a file it writes to the file fine. But if the
 script is invoked by nagios it never sees the output.


 Does $SERVICEOUTPUT$ capture the first line of output of your script? If
 not, you probably need to provide more specific detail about nagios version,
 how you're calling your plugin from nagios (command{} definition, etc) and
 specifically how it's providing it's output for nagios to capture. The
 assumption to this point is that nagios is calling the plugin directly.
 Other methods can yield different results.

 --
 Marc



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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-x64check_exchange.exe
The system cannot execute the specified program.

Any idea why this is happening?

Thanks.

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com]
Sent: October/03/2009 5:12 PM
Cc: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues, etc.. 
??

Check out my TNTMonitoringPlugin project on Sourceforge. There is a
plugin specifically to monitor Exchange. It handles both Exchange 2003
and Exchange 2007. It does monitor queue lengths as well as a few other
factors, but the focus is not really so much on load. Queue length
primarily is an indicator of network problems. A long send queue, in
particular, tells me that the Internet connection is down, or something
along those lines.

If you look at the source code for the plugin, you can also see the WMI
query used.

Mirza Dedic wrote:
 I cannot seem to find any solid information with Google.com on how to monitor 
 my Exchange 2007 server, I am interested in knowing the send/receive queues, 
 mainly to know the load at any certain time...

 On the box, I have NSClient++ installed (0.3.7) and I am already monitoring 
 windows services, disk/memory/cpu; but I would like to have nagios look under 
 the roof of the exchange server, and get me some #s for queue lengths.

 I guess this would be accomplished by WMI? I have not used WMI with 
 NSClient++ before, does anyone have this setup in their environment for 
 Exchange (or even IIS/ISA)?

 Please give some examples.

 Thank you..

--
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to
Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information
herein is intended only for use by the intended recipient(s) named
above. If you have received this transmission in error, please notify
the sender immediately and permanently delete the e-mail and any copies,
printouts or attachments thereof.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[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/nagios/plugins/check_spop -H $ARG1$
}

and another

define service {
host_name   my_pop_server
use generic-service
service_description POP
check_command   check_pops!my_ip_of_pop_server
}

Why not in one ligne with something like


define service {
host_name   my_pop_server
use generic-service
service_description POP
check_command   /usr/lib/nagios/plugins/check_spop -H 
my_pop_server
}


Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Lun 5 oct 2009 19:18:01 CEST

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 for
each service check? And if down the road someday HTTP becomes HTTPS you only
need to edit one configuration.

On Mon, Oct 5, 2009 at 1:18 PM, Albert Shih albert.s...@obspm.fr wrote:

 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/nagios/plugins/check_spop -H $ARG1$
}

 and another

 define service {
host_name   my_pop_server
use generic-service
service_description POP
check_command   check_pops!my_ip_of_pop_server
 }

 Why not in one ligne with something like


 define service {
host_name   my_pop_server
use generic-service
service_description POP
check_command   /usr/lib/nagios/plugins/check_spop
 -H my_pop_server
 }


 Regards.


 --
 Albert SHIH
 SIO batiment 15
 Observatoire de Paris Meudon
 5 Place Jules Janssen
 92195 Meudon Cedex
 Téléphone : 01 45 07 76 26/06 86 69 95 71
 Heure local/Local time:
 Lun 5 oct 2009 19:18:01 CEST


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 to monitor 
25,80,110,143, etc. 

- Original Message - 
From: Marc Powell m...@ena.com 
To: Nagios-Users Mailinglist Nagios-users@lists.sourceforge.net 
Sent: Tuesday, September 29, 2009 3:27:09 PM GMT -06:00 US/Canada Central 
Subject: Re: [Nagios-users] Monitoring Open Ports 


On Sep 29, 2009, at 2:51 PM, Matt Baer wrote: 

 Is there a way that Nagios can monitor open ports, even if there 
 isn't anything listening on the destination? I'd like to monitor my 
 open ports on my firewall JUST to make sure they're open. I would 
 just specify the port with the normal Nagios command and point it at 
 my public IP address, but obviously, the check will fail unless 
 something is listening on the other end. Basically I want to port 
 scan specific ports. Any ideas? 

A quick google for 'nagios nmap' yields this result that looks 
promising -- 

http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/ 

-- 
Marc 


-- 
Come build with us! The BlackBerryreg; Developer Conference in SF, CA 
is the only developer event you need to attend this year. Jumpstart your 
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; 
http://p.sf.net/sfu/devconf 
___ 
Nagios-users mailing list 
Nagios-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/nagios-users 
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null 
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[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.00 sec25.73
sec1.518 sec Percent State Change:0.00%24.21%0.06%

Check Execution Time:  0.01 sec30.01 sec0.595 sec Check Latency:0.00 sec712.08
sec6.423 sec Percent State Change:0.00%50.00%0.13%

-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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-users] Monitoring Open Ports
 
 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 to monitor 
 25,80,110,143,
 etc.
 
 - Original Message -
 From: Marc Powell m...@ena.com
 To: Nagios-Users Mailinglist Nagios-users@lists.sourceforge.net
 Sent: Tuesday, September 29, 2009 3:27:09 PM GMT -06:00 US/Canada Central
 Subject: Re: [Nagios-users] Monitoring Open Ports
 
 
 On Sep 29, 2009, at 2:51 PM, Matt Baer wrote:
 
  Is there a way that Nagios can monitor open ports, even if there isn't
  anything listening on the destination?  I'd like to monitor my open
  ports on my firewall JUST to make sure they're open.  I would just
  specify the port with the normal Nagios command and point it at my
  public IP address, but obviously, the check will fail unless something
  is listening on the other end.  Basically I want to port scan specific
  ports.  Any ideas?
 
 A quick google for 'nagios nmap' yields this result that looks promising --
 
 http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/
 
 --
 Marc
 
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA is 
 the only
 developer event you need to attend this year. Jumpstart your developing 
 skills, take
 BlackBerry mobile applications to market and stay ahead of the curve. Join 
 us from
 November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any
 issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 changes)...

If the OP only cares about the functionality of the plugin to check  
the open/closed status of listed ports, he can simply change
 @nmap_raw = `$nmap_path -P0 -p1-65535 $scan_address`;

to

 @nmap_raw = `$nmap_path -P0 -p$allowed_ports $scan_address`;

You can expect this to break other functionality of the plugin like  
full host scans, etc, but I believe that this is what the OP is  
looking for given this further information.

--
Marc


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 Windows libraries. Note: you do NOT need IE 8, 
Silverlight or the like if you want to keep those off your servers.
- Try and download the Visual C++ redistributables. For the 32-bit 
version, go to 
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bfdisplaylang=en.
 
The link to the 64 bit version is at the bottom of that page.
- Re-download the plugin. It could have been corrupted.
- Check that there are no permission issues.

I hope that helps!

Regards,

Kevin

Mirza Dedic wrote:
 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-x64check_exchange.exe
 The system cannot execute the specified program.

 Any idea why this is happening?

 Thanks.

 -Original Message-
 From: Kevin Keane [mailto:subscript...@kkeane.com]
 Sent: October/03/2009 5:12 PM
 Cc: 'nagios-users@lists.sourceforge.net'
 Subject: Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues, 
 etc.. ??

 Check out my TNTMonitoringPlugin project on Sourceforge. There is a
 plugin specifically to monitor Exchange. It handles both Exchange 2003
 and Exchange 2007. It does monitor queue lengths as well as a few other
 factors, but the focus is not really so much on load. Queue length
 primarily is an indicator of network problems. A long send queue, in
 particular, tells me that the Internet connection is down, or something
 along those lines.

 If you look at the source code for the plugin, you can also see the WMI
 query used.

 Mirza Dedic wrote:
   
 I cannot seem to find any solid information with Google.com on how to 
 monitor my Exchange 2007 server, I am interested in knowing the send/receive 
 queues, mainly to know the load at any certain time...

 On the box, I have NSClient++ installed (0.3.7) and I am already monitoring 
 windows services, disk/memory/cpu; but I would like to have nagios look 
 under the roof of the exchange server, and get me some #s for queue lengths.

 I guess this would be accomplished by WMI? I have not used WMI with 
 NSClient++ before, does anyone have this setup in their environment for 
 Exchange (or even IIS/ISA)?

 Please give some examples.

 Thank you..

 
 --
 Kevin Keane
 Owner
 The NetTech
 Find the Uncommon: Expert Solutions for a Network You Never Have to
 Think About

 Office: 866-642-7116
 http://www.4nettech.com

 This e-mail and attachments, if any, may contain confidential and/or
 proprietary information. Please be advised that the unauthorized use or
 disclosure of the information is strictly prohibited. The information
 herein is intended only for use by the intended recipient(s) named
 above. If you have received this transmission in error, please notify
 the sender immediately and permanently delete the e-mail and any copies,
 printouts or attachments thereof.

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null
   


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;

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, Oct 5, 2009 at 4:59 PM, Michael Ward mike-w...@utc.edu  
 wrote:
 
 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 : snmp.exe szAppVer : 5.2.3790.3959 szModName :
 ntdll.dll
 szModVer : 5.2.3790.4455 offset : 000417df
   
 Does the service stop or does it just stop responding?

 I found this guide that might help:
 http://support.microsoft.com/kb/888798 (didn't help me too much)

 We have Windows servers stop responding to snmp gets all of the time
 and haven't been able to find a cause. The servers are varied: 32-bit,
 64-bit, Dell, HP. I have all but given up since i'm not a Windows
 admin, but if someone found the answer you'd be the hero to about 10
 admins where I work.


 -- 
 Jake Paulus
 jakepau...@gmail.com
 

The SNMP service on Windows sucks.  Hard.

That said, if you set up something to check it on a regular basis, you 
can tell if it's working or not. And then if that thing just happens to 
have functionality to handle events, and can connect to the Windows box 
and restart the service, the problem pretty much solves itself.

Now, if there was only a system capable of monitoring things and firing 
off even handlers when it detects a problem...


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[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 system time change of 0d 2h 29m 29s
(forwards in time) has been detected.  Compensating...
[Tue Oct  6 00:01:49 2009];Warning: A system time change of 0d 0h 23m 1s
(forwards in time) has been detected.  Compensating...


-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null