Re: [Nagios-users] 3D Status Map

2009-05-20 Thread Lei Chen
Hope this helps:

http://cic.nist.gov/vrml/vbdetect.html

2009/5/19 Eduardo Barreto lec...@gmail.com:
 Hi all,

 Anybody know where to find a plugin for firefox running onto Ubuntu to turn
 it able openning vrml?

 I've downloaded openvrml but I'm having many problems to installing it.


 Cheers

 Eduardo Barreto

 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 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




-- 
Thanks,
Chenlei  石头++
MSN Messenger: c...@163.com

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] RE [spam?] memory on windows

2009-05-20 Thread James Pratt
Hmm.. is RamDisk a mount point on a *nix machine, or  ?

-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Wednesday, May 20, 2009 8:38 AM
To: James Pratt
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows


Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing option that
 enables
  
  
  unlimited royalty-free distribution of the report
 engine 
  
  for externally facing server and web deployment. 
  
  http://p.sf.net/sfu/businessobjects
  
  ___
  
  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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 
 unlimited royalty-free distribution of the report engine 
 for externally facing server and web deployment. 
 http://p.sf.net/sfu/businessobjects
 ___
 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
 


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] RE [spam?] memory on windows

2009-05-20 Thread Melanie Pfefer

Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing option that
 enables
  
  
  unlimited royalty-free distribution of the report
 engine 
  
  for externally facing server and web deployment. 
  
  http://p.sf.net/sfu/businessobjects
  
  ___
  
  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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 
 unlimited royalty-free distribution of the report engine 
 for externally facing server and web deployment. 
 http://p.sf.net/sfu/businessobjects
 ___
 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
 


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] Nagios reporting no output when there is output

2009-05-20 Thread Jean-Michel Philippon-Nadeau
Thanks for your replies Tom, Marc and Anthony.

I have found the problem. Because of a misconfiguration issue, the 
Nagios server was also doing active checks on the host...

Thanks for your answers, they have helped me understand better how to 
debug a NSCA config.

-- 
Jean-Michel Philippon-Nadeau
Administrateur système

Centre de Calcul Scientifique
Université de Sherbrooke
http://rqchp.ca

E-Mail: jmphi...@ccs.usherbrooke.ca
Tel:+1-819-821-8000 ext. 65480

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] FW: RE [spam?] memory on windows

2009-05-20 Thread James Pratt
Ok, I got it:

Try this:

First, determine what is visible via snmp for storage on windows system:

$ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w 80% -c 90% -v
V1 login : public
OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:  Serial Number e0153914
OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:  Serial Number e8a58f58
OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\
OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory
OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory
Found : 0 match : 0 OID queries
ERROR : Unknown storage zzz

Next, choose your victim:
 
$ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m Physical Memory -w 80% -c 
90%
OK : Physical Memory: 8%used(695MB/8190MB)  :  80 %  | 'Physical 
Memory'=695MB;6551;7370;0;8189

Hth, regards,
james

-Original Message-
From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: Wednesday, May 20, 2009 8:45 AM
To: Melanie Pfefer
Cc: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] FW: RE [spam?] memory on windows

Sorry - I see what you are doing now. 

Try a -q instead of -m, and change it to Ram and let us know how that works - 
You can also snmpwalk the host to see if the RamDisk entry (Index entries use 
the -m) shows up in the output anywhere. (Chances are, it does not, which would 
explain the ERROR)

Thanks,
James

-Original Message-
From: James Pratt 
Sent: Wednesday, May 20, 2009 8:40 AM
To: 'Melanie Pfefer'
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows

Hmm.. is RamDisk a mount point on a *nix machine, or  ?

-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Wednesday, May 20, 2009 8:38 AM
To: James Pratt
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows


Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing option that
 enables
  
  
  unlimited royalty-free distribution of the report
 engine 
  
  for externally facing server and web deployment. 
  
  http://p.sf.net/sfu/businessobjects
  
  ___
  
  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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 
 unlimited royalty-free distribution of the report engine 
 for externally facing server and web deployment. 
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 

Re: [Nagios-users] Running Windows batch files through NRPE

2009-05-20 Thread Leleux, Jeremy J
Thanks for the posts y'all!  I was able to get it running w/ 2 batch
files. The first batch file was strictly a file copy script that sent
over the config and update script.  The second batch uses psexec to run
the update script on each windows server.  I'm still working out some
kinks, but for the most part it's working.  If anyone is looking for
more information on how to do this, let me know and I would be glad to
help.

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com

-Original Message-
From: Alex Burger [mailto:ale...@users.sourceforge.net] 
Sent: Tuesday, May 19, 2009 1:02 PM
To: Leleux, Jeremy J
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Running Windows batch files through NRPE


You are running NSClient++ as a service which is using the SYSTEM 
account.  The SYSTEM account does not have access to network resources. 
  One solution is to create a domain user account and then change the 
NSClient++ service to use the new account.  Also make sure the account 
has access to the batch file.

As someone else mentioned it may make more sense to use a scheduled task

but it also needs to run as a network account that has access.  You may 
want to look at psexec from Sysinternals.

Alex


Leleux, Jeremy J wrote:
 I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
 monitoring my Windows Servers, all 2003, I have NSClient++ on those
 servers and its working fine.  My problem is that I'm trying to
 centralize the configs on the NSClient++'s w/ the help of batch files.
 I have setup commands to allow me run the scripts w/ the help of
 check_nrpe, but they will not run.
 
 Here is the contents of one of my batch files, nscpp_config.bat, to
 update the NSClient++ config:
   @echo off
   xcopy
 \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
 C:\Progra~1\NSClient++ /Y
   exit
 When I try to run this command from my Nagios Server, I get an
Invalid
 Drive Specification Error.  And here is my config line to allow the
 command in NSClient++:


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] check frequency

2009-05-20 Thread Marc Powell

On May 20, 2009, at 8:22 AM, Anirudh Srinivasan wrote:

 This is how i wanted to make it look like :

 [05-19-2009 13:34:00] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING  
 CRITICAL - (loss=100% )
 [05-19-2009 13:33:00] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING  
 CRITICAL - (loss=100% )

 [05-19-2009 13:32:00] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING  
 CRITICAL - (loss=100% )

 Then at 13:34:00 send out the notification .  Is this feasible ??

Feasible and straightforward.

check_interval whatever
retry_interval 1
max_check_attempts 3

assumes interval_length in nagios.cfg is 60.

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] email attribute in contact

2009-05-20 Thread Melanie Pfefer

hi

in defining a contact, can we have email attribute have 2 email addresses 
seperated by a comma?

thank you


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] email attribute in contact

2009-05-20 Thread Andreas Ericsson
Melanie Pfefer wrote:
 hi
 
 in defining a contact, can we have email attribute have 2 email addresses 
 seperated by a comma?
 

Yes and no. Nagios will never bother with the email address,
except for expanding the string you've written there when it's
time to notify someone. If your notification script can take
care of a comma-separated list of email addresses, then all
will be fine.

I believe the default notification commands will if you omit
the comma and just separate the two (or more) email addresses
with spaces. I leave it as an exercise to you to find out if
that is actually true or not. Make sure to report your finds
back to the list, so other can benefit in the future.

 thank you
 

You're welcome.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] FW: RE [spam?] memory on windows

2009-05-20 Thread Melanie Pfefer

thank you!

--- On Wed, 20/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] FW:  RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Wednesday, 20 May, 2009, 4:03 PM
 Ok, I got it:
 
 Try this:
 
 First, determine what is visible via snmp for storage on
 windows system:
 
 $ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w
 80% -c 90% -v
 V1 login : public
 OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:  Serial
 Number e0153914
 OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:  Serial
 Number e8a58f58
 OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\
 OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory
 OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory
 Found : 0 match : 0 OID queries
 ERROR : Unknown storage zzz
 
 Next, choose your victim:
  
 $ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m Physical
 Memory -w 80% -c 90%
 OK : Physical Memory: 8%used(695MB/8190MB)  :  80
 %  | 'Physical Memory'=695MB;6551;7370;0;8189
 
 Hth, regards,
 james
 
 -Original Message-
 From: James Pratt [mailto:jpr...@norwich.edu]
 
 Sent: Wednesday, May 20, 2009 8:45 AM
 To: Melanie Pfefer
 Cc: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] FW: RE [spam?] memory on windows
 
 Sorry - I see what you are doing now. 
 
 Try a -q instead of -m, and change it to Ram and let us
 know how that works - You can also snmpwalk the host to see
 if the RamDisk entry (Index entries use the -m) shows up
 in the output anywhere. (Chances are, it does not, which
 would explain the ERROR)
 
 Thanks,
 James
 
 -Original Message-
 From: James Pratt 
 Sent: Wednesday, May 20, 2009 8:40 AM
 To: 'Melanie Pfefer'
 Cc: nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] RE [spam?] memory on windows
 
 Hmm.. is RamDisk a mount point on a *nix machine, or 
 ?
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Wednesday, May 20, 2009 8:38 AM
 To: James Pratt
 Cc: nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] RE [spam?] memory on windows
 
 
 Hi
 
 actually I tried this also
 
 ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s
 -w 80% -c 90%
 Unknown storage : RamDisk : ERROR
 
 regards
 
 --- On Mon, 18/5/09, James Pratt jpr...@norwich.edu
 wrote:
 
  From: James Pratt jpr...@norwich.edu
  Subject: RE: [Nagios-users] RE [spam?]  memory on
 windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:39 PM
  http://nagios.manubulon.com/
  
  
  
  -Original Message-
  From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
  
  Sent: Monday, May 18, 2009 11:15 AM
  To: frank.bourd...@dga.defense.gouv.fr
  Cc: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] RE [spam?] memory on
 windows
  
  
  maybe I was not clear enough
  I need to use snmp
  
  
  thanks
  
  --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
  frank.bourd...@dga.defense.gouv.fr
  wrote:
  
   From: frank.bourd...@dga.defense.gouv.fr
  frank.bourd...@dga.defense.gouv.fr
   Subject: RE [spam?] [Nagios-users] memory on
 windows
   To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
   Cc: nagios-users@lists.sourceforge.net
   Date: Monday, 18 May, 2009, 6:00 PM
   
   
   Hi Melanie,
   
   
   
   NSCLIENT++ is the Nagios
   client for
   Windows 2003, 2000, 2008. You can download it at
   http://nsclient++.org/nscp/.
   Follow the documentation on the web site. 
   
   
   
   [ENVOYE PAR INTERNET]
   
   
   
   
   
   frank.bourd...@dga.defense.gouv.fr
   
   
   
   
   
   
   
   
   Melanie
   Pfefer melanie_pfe...@yahoo.co.uk
   
   18/05/2009 16:51
   
   
   
   
   A
   nagiosplug-h...@lists.sourceforge.net
   
   
   cc
   nagios-users@lists.sourceforge.net
   
   
   Objet
   [spam?] [Nagios-users]
   memory on windows
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   hi
   
   
   
   I have a windows 2003 and want to monitor its
 memory
  usage
   
   
   
   can you please pass me the plugin that can notify
 me
  if
   memory usage reached
   X GB?
   
   
   
   thank you
   
   
   
   
   
         
   
   
   
  
 
 --
   
   Crystal Reports - New Free Runtime and 30 Day
 Trial
   
   Check out the new simplified licensing option
 that
  enables
   
   
   unlimited royalty-free distribution of the
 report
  engine 
   
   for externally facing server and web deployment.
 
   
   http://p.sf.net/sfu/businessobjects
   
   ___
   
   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 

[Nagios-users] Cristiano Casado has invited you to radiusIM.com

2009-05-20 Thread Cristiano Casado





 
This email was sent by someone you know on radiusIM.com.  If you do not wish to receive any future friend invites to radiusIM.com click here.
  
radiusIM
   
 Cristiano Casado (co.cas...@gmail.com) has invited you to check out radiusim.com.  
 Their username on radiusIM is ccasado. It's a new location based IM service that lets you see where your friends are and who else is around. It also works with MSN, AIM/AOL/ICQ, Yahoo, and Google Talk. 
  Sign up now to be friends with Cristiano Casado.  
 
  
Copyright 2006-2008 Radius IM LLC 158 Ludlow Street, New York, NY 10002.
 


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] check_nt: Could not parse arguments

2009-05-20 Thread Christoph Stoettner
Hi,

Problem is the first $ in password1$ of your command-definition (check_nt)

command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s Password1$ -v
$ARG1$ $ARG2$

I would say, that it should be -s $USER2$ when you store the password in
your resource.cfg or -s $Password1$

Bye
Christoph (Stoeps)
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] Override a threshold for one host in a template

2009-05-20 Thread John Andrunas
I have been using
http://nagios.sourceforge.net/docs/3_0/objecttricks.html to set up
templates for hosts in Nagios, the only problem I have is that one of
my DB servers consistently runs high on memory utilization, so it is
almost always in a warning state.  I tried setting another higher
threshold for that one host in but it doesn't take.  Is there a way to
override a threshold set in a hostgroup_name for one particular host,
or am i going to have to redo my hostgroup based template?

-- 
John

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] differing notifications

2009-05-20 Thread RijilV
2009/5/20 Neil Dombrowski n...@pricegrabber.com:
 I haven't been able to find an answer to this conundrum looking at the
 docs, faq, or googling. I'd love to hear any suggestions.


 We have two contact groups; group adminmail sends an email to our
 mailboxes and adminphone sends email to our phones. The idea is when a
 warning notification happens, adminmail gets notified, and when a
 critical notification happens adminphone gets notified.

 As a test I set up two services that check disk. For the first one I set:
 notification_options w,r
 contact_group         adminmail

 For the second service I set:
 notification_options  c
 contact_group         adminphone

 This works, but it's kludgy.  Is there a way to define one contact_group
 for a warning, and a different contact group for critical? We are
 currently running v1.2(yes, old), but will be upgrading eventually. I'd
 like to know if there's a solution I can implement now; if we need to
 upgrade to get this functionality I'd like to know as well.

 Thanks,
    Neil



http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact

Just setup two contacts, one for adminmail that gets warnings, the
other for adminphone that gets crits.  Add them to the same
contract_group, then add that contact group to your service check.
This style/syntax hasn't changed really, save for in nagios 3.x you
don't need the contact group if you don't want it.


.r'

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] Notify via Growl?

2009-05-20 Thread Mathieu Gagné
Hi,

On 5/20/09 1:00 PM, Israel Brewster wrote:
 I have nagios running on an openBSD box, and I would like to use
 Growl's network notification options to pop-up alert messages on my
 Mac for certain situations. Does anyone have a script or program that
 can do this already? I've looked around a bit, but all I've found seem
 to assume that nagios is running on the Mac, which is not the case
 here. I've got the Growl dev tools, which come with a python script it
 looks like I could hack to work, but before I spend too much time on
 that I wanted to see if it has already been done. Thanks.

1) Install Net::Growl from CPAN: 
http://search.cpan.org/~nmcfarl/Net-Growl-0.99/
2) Allow network notification in Growl on your Mac and set a password.
3) Create a notify script using it based on the provided example.
4) Enjoy! :)

--
Mathieu

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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 clustered resources with Windows...

2009-05-20 Thread James Pratt
Seems there is a new resource for this since The Fork...

http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1

hth,
regards
Jamie

-Original Message-
From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Wednesday, May 20, 2009 1:19 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring clustered resources with Windows...

One of our admins is actively migrating us from Server 2003 to Server
2008 and using the built-in clustering capabilities of '08 to enable
service-level failover. So far, he's done so with Exchange, print server
services, and SQL. I'm wondering how to best monitor shares resources on
Windows hosts from Nagios. At present, we use nsclient++ to watch the
physical servers. This is good for basic checks of load average, memory,
local disk consumption, etc. I can even monitor services that are
running. No, I know I can monitor anything that's accessible from an IP
and port, but I'm somwhat stumped on other resources...

For example, we have two physical Exchange servers. They're in a cluster
and the various Exchange services are only active on one node at a time.
I can watch OWA as its accessible from an IP and port, but the Exchange
services themselves will stop on one server and start on the other if a
server fails. Nagios can't dynamically adjust to watch this service on
the new node. It will only yell that's its down on the failed node.

Clustered file storage is another example. Again, I can watch the local
CPU, memory, and local C: drive, etc. But let's say its sharing a large
volume as drive F:. I can watch this fine on the primary node, but if it
fails over, its no longer accessible from that node as its being shared
on the new active node.

I'm curious if any Nagios users are using clustered resources on the
Windows side and how you handle service failover of services that aren't
necessarily accessible by IP and port...

-- 


  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] Unable to open MRTG log file

2009-05-20 Thread Andrew Davis
Have you checked ownership of the mrtg log file to ensure your nagios 
user has at least read-only access? As your nagios user, try to cat the 
file and see if you get a permission denied message.


 A. Davis
 Email: ncc...@gmail.com

 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan



Dei Bertine wrote:

Hi folks,

I've been getting these messages from my nagios page under mrtg: 
check_mrtgtraf: Unable to open MRTG log file in which Im unable to 
figure it out why?


here's my config file:
# Monitor Port 1 Bandwidth Usage
define service{
use mrtg-service
host_name   ciscoasa-firewall
service_description SDFWPORT1_BAND_USE
check_command   
check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!100,100!500,500!10

}

When I launch the command manually, same error.

Here's my command looks like:
# 'check_local_mrtgtraf' command definition
define command{
command_namecheck_local_mrtgtraf
command_line$USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w 
$ARG3$ -c $ARG4$ -e $ARG5$

}

Please someone advise.

Thank you!
DB


*
*





--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects



___
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
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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 exchange publishing question

2009-05-20 Thread shadih rahman
All,
   I have a quick question about licensing and trademarks.  If I publish
some scripts in nagiosexchange.org what license or trademark am I publishing
under?  Please advise on this.

-- 
Cordially,
Shadhin Rahman
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] differing notifications

2009-05-20 Thread Neil Dombrowski



RijilV wrote:

2009/5/20 Neil Dombrowski n...@pricegrabber.com:
  

I haven't been able to find an answer to this conundrum looking at the
docs, faq, or googling. I'd love to hear any suggestions.


We have two contact groups; group adminmail sends an email to our
mailboxes and adminphone sends email to our phones. The idea is when a
warning notification happens, adminmail gets notified, and when a
critical notification happens adminphone gets notified.

As a test I set up two services that check disk. For the first one I set:
notification_options w,r
contact_group adminmail

For the second service I set:
notification_options  c
contact_group adminphone

This works, but it's kludgy.  Is there a way to define one contact_group
for a warning, and a different contact group for critical? We are
currently running v1.2(yes, old), but will be upgrading eventually. I'd
like to know if there's a solution I can implement now; if we need to
upgrade to get this functionality I'd like to know as well.

Thanks,
   Neil





http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact

Just setup two contacts, one for adminmail that gets warnings, the
other for adminphone that gets crits.  Add them to the same
contract_group, then add that contact group to your service check.
This style/syntax hasn't changed really, save for in nagios 3.x you
don't need the contact group if you don't want it.


.r'
  
So, basically you're saying to put both contact_groups (adminmail and 
adminphone) into a third contact_group, then use that contact_group in 
the service?  How would I then make warning notifications go only to 
adminmail, and critical notifications go only to adminphone?


Thanks,
   Neil

--
Neil Dombrowski
Linux Administration
Pricegrabber.com
AIM: neilatpg

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] Fix service status.

2009-05-20 Thread Marc Powell

On May 20, 2009, at 12:19 PM, Marc Aymerich wrote:

 Hi All,
 Is possible fix the current service status to OK? I check by snmp the
 counter32 of ports from my switch and some times report 'SNMP
 CRITICAL' when in fact behavior is normal.  Thanks Very Much! Marc

Identify and fix or workaround the problem that causes this false  
alarm would by my tactic but if these are an occasional problem, you  
can use the 'Submit passive check result for this service' option when  
viewing the service details in the web interface.

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] Monitoring clustered resources with Windows...

2009-05-20 Thread Andrew Davis
One of our admins is actively migrating us from Server 2003 to Server 
2008 and using the built-in clustering capabilities of '08 to enable 
service-level failover. So far, he's done so with Exchange, print server 
services, and SQL. I'm wondering how to best monitor shares resources on 
Windows hosts from Nagios. At present, we use nsclient++ to watch the 
physical servers. This is good for basic checks of load average, memory, 
local disk consumption, etc. I can even monitor services that are 
running. No, I know I can monitor anything that's accessible from an IP 
and port, but I'm somwhat stumped on other resources...


For example, we have two physical Exchange servers. They're in a cluster 
and the various Exchange services are only active on one node at a time. 
I can watch OWA as its accessible from an IP and port, but the Exchange 
services themselves will stop on one server and start on the other if a 
server fails. Nagios can't dynamically adjust to watch this service on 
the new node. It will only yell that's its down on the failed node.


Clustered file storage is another example. Again, I can watch the local 
CPU, memory, and local C: drive, etc. But let's say its sharing a large 
volume as drive F:. I can watch this fine on the primary node, but if it 
fails over, its no longer accessible from that node as its being shared 
on the new active node.


I'm curious if any Nagios users are using clustered resources on the 
Windows side and how you handle service failover of services that aren't 
necessarily accessible by IP and port...


--


 A. Davis
 Email: ncc...@gmail.com

 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] differing notifications

2009-05-20 Thread Neil Dombrowski
I haven't been able to find an answer to this conundrum looking at the 
docs, faq, or googling. I'd love to hear any suggestions.


We have two contact groups; group adminmail sends an email to our 
mailboxes and adminphone sends email to our phones. The idea is when a 
warning notification happens, adminmail gets notified, and when a 
critical notification happens adminphone gets notified.

As a test I set up two services that check disk. For the first one I set:
notification_options w,r
contact_group adminmail

For the second service I set:
notification_options  c
contact_group adminphone

This works, but it's kludgy.  Is there a way to define one contact_group 
for a warning, and a different contact group for critical? We are 
currently running v1.2(yes, old), but will be upgrading eventually. I'd 
like to know if there's a solution I can implement now; if we need to 
upgrade to get this functionality I'd like to know as well.

Thanks,
Neil

-- 
Neil Dombrowski
Linux Administration
Pricegrabber.com
608-215-6183
AIM: neilatpg


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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 clustered resources with Windows...

2009-05-20 Thread Andrew Davis
Thanks. Unfortunately I doubt our Windows Admin is going to install the 
HP agents on all the systems. I wonder if the MIB's for the cluster 
service in Server 2008 are public and queryable... off to dig around.


 A. Davis
 Email: ncc...@gmail.com

 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan



James Pratt wrote:

Apologies - that site is really acting strange lately.

I used to use this one, but it requires HP hardware, and since we are
mostly a vmware shop, it's no good to me anymore - 


http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm
l;d=1

(let me know if that link is broken as well - if so, you can try to
google for check_mscs_hpma instead)

Sorry!
James



-Original Message-
From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Wednesday, May 20, 2009 2:01 PM

To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring clustered resources with
Windows...

Were you trying to link to a specific project/plugin ID cause it just
took me to the main nagiosexchange page which I've already searched and
its coming up dry for add-ons that would address my question... maybe
your URL was bad?


  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan


James Pratt wrote: 


Seems there is a new resource for this since The Fork...

http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1

hth,
regards
Jamie

-Original Message-
	From: Andrew Davis [mailto:ncc...@gmail.com] 
	Sent: Wednesday, May 20, 2009 1:19 PM

To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring clustered resources with
Windows...

One of our admins is actively migrating us from Server 2003 to
Server
2008 and using the built-in clustering capabilities of '08 to
enable
service-level failover. So far, he's done so with Exchange,
print server
services, and SQL. I'm wondering how to best monitor shares
resources on
Windows hosts from Nagios. At present, we use nsclient++ to
watch the
physical servers. This is good for basic checks of load average,
memory,
local disk consumption, etc. I can even monitor services that
are
running. No, I know I can monitor anything that's accessible
from an IP
and port, but I'm somwhat stumped on other resources...

For example, we have two physical Exchange servers. They're in a
cluster
and the various Exchange services are only active on one node at
a time.
I can watch OWA as its accessible from an IP and port, but the
Exchange
services themselves will stop on one server and start on the
other if a
server fails. Nagios can't dynamically adjust to watch this
service on
the new node. It will only yell that's its down on the failed
node.

Clustered file storage is another example. Again, I can watch
the local
CPU, memory, and local C: drive, etc. But let's say its sharing
a large
volume as drive F:. I can watch this fine on the primary node,
but if it
fails over, its no longer accessible from that node as its being
shared
on the new active node.

I'm curious if any Nagios users are using clustered resources on
the
Windows side and how you handle service failover of services
that aren't
necessarily accessible by IP and port...

	  

  
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] hostgroups and service dependencies?

2009-05-20 Thread Frost, Mark {PBG}

I'm just starting to get into service dependencies.  My problem is that
I don't quite see how I can get around doing it individually for each
and every service and host needed.

An example is if I've got 100 Windows servers all configured to be part
of a hostgroup.  Then I've got a 


define service {
hostgroup_name
prod_windows_servers
service_description NRPE Service
check_command   NRPE Service
use Production
Windows Service
}

define service {
hostgroup_name
prod_windows_servers
service_description CPU Load
check_command
check_windows_load!90%!90%
use Production
Windows Service
}

define service {
hostgroup_name
prod_windows_servers
service_description C: Drive
check_command
check_windows_disk!C:!90%!90%
use Production
Windows Service
}

where the 100 servers are all part of the 'prod_windows_servers
hostgroup.  Here I can list the checks nice and compactly and add new
hosts/checks merely by putting them in that hostgroup.

I would like to make service checks on these boxes dependent on the
NRPE Service check above.  So if the NRPE service was not responding,
Nagios wouldn't bother sending me alerts about all the other things on
that box it could not reach.

The object definitions seem to say that I can do

define servicedependency {
hostgroup_name
prod_windows_servers
service_description NRPE Service
dependent_hostgroup_name
prod_windows_servers
dependent_service_description   C: Drive
execution_failure_criteria  n
notification_failure_criteria   w,u,c
}

I'm assuming that this is supposed to match up each
'prod_windows_servers' entry with its matching entry rather than making
each server dependent on this servers from *every* other hostgroup
member?

Just to see, I tried this out and when I did a pre-flight check it took
53 seconds (checking the host and service dependencies) when it normally
runs instantly.

I'm not sure this does what I want.  Even so, I don't know that I can
handle the 53 second wait which I imagine would escalate for each
service I defined in this way).  The only other route I can think of is
to create a unique servicedepency definition for each of these.  That's
100 x n dependency definitions, where n is the number of other services
I'm checking on each of these boxes.

Am I looking at this the wrong way?  Is there an easier way to do this?

Thanks

Mark


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] Service Group Setup

2009-05-20 Thread Edwin Zoeller
Can anyone out there tell me how to setup service groups? I have tried
and I am having no luck. In particular, I have 3 hosts that have many
monitored services on them and I need to report the availably on them
and instead of every service I rather do it in a service group.
 
Thanks,
 
Ed
 

P Please consider the environment before printing this e-mail

 
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] SAP-CCMS Patterns

2009-05-20 Thread Matthew Rivet
I am in need of the correct pattern strings for SAP-CCMS plugins.  I have
tried what I assumed to be the correct patterns but they do not work.

The patterns I am looking for are:

Dialog Response Time

Long Runners

DB Request Time

Oracle Buffer Cache Ratio

LastR3Backup

Last Trans Backup

Thanks for the help!


-- 
Matthew Rivet
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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 clustered resources with Windows...

2009-05-20 Thread Andrew Davis
Except that we're a 100% Sun and Dell shop (mostly Sun, phasing out 
Dell... though I guess I'll be calling Sun as Oracle soon enough). 
But, hence the reticence to install the HP agents...


Thanks for the link all the same. It offers hope that if I can get into 
the native Server 2008 SNMP items for the cluster resources, then there 
may be a solution.


 A. Davis
 Email: ncc...@gmail.com

 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan



James Pratt wrote:

Understood It would be worth a shot to ask them anyhow though - IMO,
as the HP hardware guy here, it's a *lot* easier to troubleshoot
hardware issues with the agents/management pages , even if you don't use
insight manager/SIM , no matter what OS is on the HP servers - but, this
is now off-topic, apologies! :( 


-Original Message-
From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Wednesday, May 20, 2009 3:34 PM

To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring clustered resources with
Windows...

Thanks. Unfortunately I doubt our Windows Admin is going to install the
HP agents on all the systems. I wonder if the MIB's for the cluster
service in Server 2008 are public and queryable... off to dig around.


  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan


James Pratt wrote: 


Apologies - that site is really acting strange lately.

I used to use this one, but it requires HP hardware, and since
we are
	mostly a vmware shop, it's no good to me anymore - 
	


http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm
l;d=1

(let me know if that link is broken as well - if so, you can try
to
google for check_mscs_hpma instead)

Sorry!
James



-Original Message-
	From: Andrew Davis [mailto:ncc...@gmail.com] 
	Sent: Wednesday, May 20, 2009 2:01 PM

To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring clustered resources with
Windows...

Were you trying to link to a specific project/plugin ID cause it
just
took me to the main nagiosexchange page which I've already
searched and
its coming up dry for add-ons that would address my question...
maybe
your URL was bad?


  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan


	James Pratt wrote: 
	

Seems there is a new resource for this since The
Fork...

http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1

hth,
regards
Jamie

-Original Message-
		From: Andrew Davis [mailto:ncc...@gmail.com] 
		Sent: Wednesday, May 20, 2009 1:19 PM

To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring clustered resources
with
Windows...

One of our admins is actively migrating us from Server
2003 to
Server
2008 and using the built-in clustering capabilities of
'08 to
enable
service-level failover. So far, he's done so with
Exchange,
print server
services, and SQL. I'm wondering how to best monitor
shares
resources on
Windows hosts from Nagios. At present, we use nsclient++
to
watch the
physical servers. This is good for basic checks of load
average,
memory,
local disk consumption, etc. I can even monitor services
that
are
running. No, I know I can monitor anything that's
accessible
from an IP
and port, but I'm somwhat stumped on other resources...

For example, we have two physical Exchange servers.
They're in a
cluster
and the various Exchange services are only active on one
node at
a time.
I can watch OWA as its accessible from an IP and port,
but the
Exchange
services themselves will stop on one server and start on
the
other if a
server fails. Nagios can't dynamically adjust to watch
this
service on
the new node. It will only yell that's its down on the
failed
node.

Clustered file storage is another example. Again, I can
watch
the local
CPU, memory, and local C: drive, etc. But let's say its
sharing
a large
volume as drive F:. I can watch this fine on the 

Re: [Nagios-users] random nrpe socket timeout

2009-05-20 Thread Jason Ogresovich
 

 

From: mar...@absi.be [mailto:mar...@absi.be] 
Sent: Monday, May 18, 2009 9:46 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] random nrpe socket timeout

 


hello 
i have troubles in our infrastructure with nrpe giving critical alerts when
the nrpe socket timeout. 
this happens randomly from time to time in several servers. 
i really have no clue what is the cause, the service is up between two
minutes, but the alerts causes sms to be sent for 'falses alarms' as there
is nothing wrong with the servers just the nrpe plugin that for a few
instants cannot contact the server. 
is there a way to troubleshoot this? which side should it be troubleshooted?
server side or client side. 
nagios.log doesn't give many info: just : 
disk_root;CRITICAL;notify-by-email;CHECK_NRPE: Socket timeout after 10
seconds. 

Check the NRPE Documentation, specifically the troubleshooting section. It
sounds like the commands you are executing are taking longer than ten
seconds to execute. Try increasing the timeout value for these commands.

 

Example from the NRPE documentation: /usr/local/nagios check_nrpe -H
localhost -c somecommand -t 30

 

-Jason

 

 

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
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] Notify via Growl?

2009-05-20 Thread Israel Brewster
On May 20, 2009, at 9:52 AM, Mathieu Gagné wrote:

 Hi,

 On 5/20/09 1:00 PM, Israel Brewster wrote:
 I have nagios running on an openBSD box, and I would like to use
 Growl's network notification options to pop-up alert messages on my
 Mac for certain situations. Does anyone have a script or program that
 can do this already? I've looked around a bit, but all I've found  
 seem
 to assume that nagios is running on the Mac, which is not the case
 here. I've got the Growl dev tools, which come with a python script  
 it
 looks like I could hack to work, but before I spend too much time on
 that I wanted to see if it has already been done. Thanks.

 1) Install Net::Growl from CPAN: 
 http://search.cpan.org/~nmcfarl/Net-Growl-0.99/
 2) Allow network notification in Growl on your Mac and set a password.
 3) Create a notify script using it based on the provided example.
 4) Enjoy! :)


Which is basically the same thing as hacking the Python script except  
for a) having to start from scratch, and b) having to work in a  
language I have little experience with :-) I was sort of hoping  
someone had already done the above steps and would be willing to  
share :-D Oh well, it won't take more than a couple of hours to whip  
the Python into shape, and has the advantage of being self-contained,  
aside from some standard Python modules (so no installing from CPAN or  
the like). Thanks for the suggestion though :-)

---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---


 --
 Mathieu


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
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] differing notifications

2009-05-20 Thread Israel Brewster




On May 20, 2009, at 10:39 AM, Neil Dombrowski wrote:




RijilV wrote:


2009/5/20 Neil Dombrowski n...@pricegrabber.com:

I haven't been able to find an answer to this conundrum looking at  
the

docs, faq, or googling. I'd love to hear any suggestions.


We have two contact groups; group adminmail sends an email to our
mailboxes and adminphone sends email to our phones. The idea is  
when a

warning notification happens, adminmail gets notified, and when a
critical notification happens adminphone gets notified.

As a test I set up two services that check disk. For the first one  
I set:

notification_options w,r
contact_group adminmail

For the second service I set:
notification_options  c
contact_group adminphone

This works, but it's kludgy.  Is there a way to define one  
contact_group

for a warning, and a different contact group for critical? We are
currently running v1.2(yes, old), but will be upgrading  
eventually. I'd
like to know if there's a solution I can implement now; if we need  
to

upgrade to get this functionality I'd like to know as well.

Thanks,
   Neil





http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact

Just setup two contacts, one for adminmail that gets warnings, the
other for adminphone that gets crits.  Add them to the same
contract_group, then add that contact group to your service check.
This style/syntax hasn't changed really, save for in nagios 3.x you
don't need the contact group if you don't want it.


.r'

So, basically you're saying to put both contact_groups (adminmail  
and adminphone) into a third contact_group, then use that  
contact_group in the service?  How would I then make warning  
notifications go only to adminmail, and critical notifications go  
only to adminphone?


No, in the individual contacts you can define what sort of  
notifications that individual contact receives, using the  
host_notification_options [d,u,r,f,s,n] and  
service_notification_options [w,u,c,r,f,s,n] directives of the  
contact. So what you do is make two contacts (not groups, but  
individual contacts), specifying that adminmail only receives warning  
(not critical) and adminphone only receives critical (not warning).  
Add both contacts to a single contact group, add that contact group to  
the host, and specify that the host send both critical and warning  
notifications. Due to the filters in the contacts, each contact will  
only receive the appropriate types. If you have more people you need  
to contact, just make more contacts for each person, keeping the phone  
contacts and the mail contacts separate.


---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---




Thanks,
Neil
--
Neil Dombrowski
Linux Administration
Pricegrabber.com
AIM: neilatpg
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects___
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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
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] nagios exchange publishing question

2009-05-20 Thread Kevin Keane
My understanding is that this is basically just a directory site, so you 
would publish it whichever way you want. If you want to be perfectly 
clear, you would have to ask a lawyer, of course.

shadih rahman wrote:
 All,
I have a quick question about licensing and trademarks.  If I 
 publish some scripts in nagiosexchange.org http://nagiosexchange.org 
 what license or trademark am I publishing under?  Please advise on this. 

 -- 
 Cordially,
 Shadhin Rahman

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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
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] Override a threshold for one host in a template

2009-05-20 Thread Kevin Keane
I had a somewhat similar problem (all of my servers use the same 30 or 
so services, except one of them doesn't have remote access, so it only 
needs 29). Here is what I did. It sounds like you did about the same:

- create a hostgroup
- create 30 services
- in each service, specify the corresponding hostgroup_name that it 
should go into.
- make all 30 hosts part of that hostgroup

Now to deal with this one server, let's call it problem.server.com for 
service DIFFICULTSERVICE:

In the declaration for DIFFICULTSERVICE, exclude problem.server.com:

hostname !problem.server.com

Declare another service DIFFICULTSERVICE just for problem.server.com 
with the correct parameters.


John Andrunas wrote:
 I have been using
 http://nagios.sourceforge.net/docs/3_0/objecttricks.html to set up
 templates for hosts in Nagios, the only problem I have is that one of
 my DB servers consistently runs high on memory utilization, so it is
 almost always in a warning state.  I tried setting another higher
 threshold for that one host in but it doesn't take.  Is there a way to
 override a threshold set in a hostgroup_name for one particular host,
 or am i going to have to redo my hostgroup based template?

   


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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
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 switches via SNMP --

2009-05-20 Thread Mike Saldivar
On Thu, May 7, 2009 at 5:15 PM, Mike Saldivar 
mike.saldi...@advocatecreditrepair.com wrote:

 Hi there,

 I have a new installation of Nagios, Version 3.0.6, running on Ubuntu
 8.10.  I followed the Quick Start guide for Ubuntu, and everything went
 swimmingly, installing Nagios, the Plug-ins, Apache, et al.  Nagios started
 up and monitored itself, and following the quick-starts for Linux and
 Windows, I've been able to get it to monitor all my hosts.

 So I'm now trying to get it to monitor a Cisco ASA 5510 VPN.  On the ASA, I
 enabled SNMP, and pointed it to the Nagios machine for reporting.

 On the Nagios box, I copied up the switch.cfg, changed the IP address and
 hostname, etc, following the instructions:
 http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html

 Restarting, I see these errors such as this.  Posting the error, then the
 corresponding portion of the switch.cfg:

 Inside Interface   CRITICAL 05-07-2009 16:54:07 0d 2h 53m 31s
 3/3 (Return code of 127 is out of bounds - plugin may be missing)



Ah ha, I've discovered that check_snmp was not installed with the rest of
the Nagios plugins.  Apparently, if net-snmp and net-snmp-utils are not
already installed, the plugins installer skips installing that plugin.

Here's a configure of check_snmp 1.4, freshly downloaded from Nagios
Exchange:

r...@dfslit1:~/check_snmp-1.4# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for init_snmp in -lnetsnmp... no
configure: error: snmp library not found

I looked through the Ubuntu package website, and tried installing any
package I could find that's related to SNMP, but already have them all
installed.

snmp is already the newest version.
libsnmp-base is already the newest version.
libsnmp15 is already the newest version.
snmpd is already the newest version.
libsnmp-perl is already the newest version.

Is there an inherent incompatibility between Ubuntu 8.10 and the check_snmp
plugin?  Do I need to go the all Perl/CPAN route?  I can perform snmpwalks,
but I don't know of any other way to find out what I'm missing.

nag...@dfslit1:~$ snmpwalk -v1 -c public 10.5.1.2 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco Adaptive Security Appliance Version
7.0(4)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.669
[...]

Thanks,
-Mike
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
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] check_nt: Could not parse arguments

2009-05-20 Thread Anthony Montibello
Hi,

Also you may want to remove the process check for Explorer.exe
since that process is only running when a user space running.

Tony (Author of NC_Net)

On Wed, May 20, 2009 at 12:17 PM, Christoph Stoettner i...@stoeps.dewrote:

 Hi,

 Problem is the first $ in password1$ of your command-definition (check_nt)

 command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s Password1$
 -v $ARG1$ $ARG2$

 I would say, that it should be -s $USER2$ when you store the password in
 your resource.cfg or -s $Password1$

 Bye
 Christoph (Stoeps)


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 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

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
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] Advanced permissions for the web interface

2009-05-20 Thread Alex Burger

On the Nagios-Users list back in November 2006 there was a discussion 
about adding advanced permissions to Nagios for hosts and services. 
Users (including myself) were looking for a way to grant users the 
ability to view hosts, but not submit commands and to allow for more 
complex permissions.  I also wanted a way to limit which hosts a user 
would be notified for while still giving them access to view the status 
in the web interface.  The can_submit_commands only helps with part of 
the problem.

I originally created a patch to add advanced permissions for Nagios 
2.5-2.8 and have been using it for over two years in production.  I 
created a 3.0 version back in November 2006 before 3.0 was released but 
I only recently updated it for 3.0.6.

The available permissions for each contact / contact group are:

Permission  Description
r   View in web interface
x   Submit commands for this host/service in web interface
w   Not needed yet.  Maybe some of the other programs
that allow you to modify the configuration files could
use this permission to allow a user to modify the host /
service.
n   Notify if contact has a pager or email defined

Example:

contact_groups  netops:rwxn, helpdesk:r

See http://www.fragit.net/nagios.html for more details and the patch.

I'm not expecting this to go in to future releases but I hope that 
similar functionality will be added to any new web interfaces.  I wanted 
to share it in case anyone else has similar needs.

Alex


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
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 clustered resources with Windows...

2009-05-20 Thread Anthony Montibello
Hi,

Why not implement Passive checks.
instead of reporting to seperate Host configs have them report to a single
host called CLUSTERED
then have the passive checks report only OK states,
and have the freshness check command report for when both are down.

Check the Docs on Violtile and passive and they may be able to assist.
(Maybe in conjuntion with an eventhandler)
http://nagios.sourceforge.net/docs/3_0/passivechecks.html
http://nagios.sourceforge.net/docs/3_0/volatileservices.html


Thre also used to be a plugin called Check_cluster
this polls the results from other checks into a single check (I think)
http://nagiosplugins.org/man/check_cluster

A google search turned up this article on Nagios Community:
http://community.nagios.org/2009/04/25/monitoring-windows-cluster-environments-with-nagios/


Tony ( Author of NC_Net)
Current verison V4.4  https://sourceforge.net/projects/nc-net/



On Wed, May 20, 2009 at 4:17 PM, Andrew Davis ncc...@gmail.com wrote:

 Except that we're a 100% Sun and Dell shop (mostly Sun, phasing out Dell...
 though I guess I'll be calling Sun as Oracle soon enough). But, hence
 the reticence to install the HP agents...

 Thanks for the link all the same. It offers hope that if I can get into the
 native Server 2008 SNMP items for the cluster resources, then there may be a
 solution.

   A. Davis
   Email: ncc...@gmail.com

   There is no limit to what a man can accomplish
if he doesn't care who gets the credit. - Ronald Reagan



 James Pratt wrote:

 Understood It would be worth a shot to ask them anyhow though - IMO,
 as the HP hardware guy here, it's a *lot* easier to troubleshoot
 hardware issues with the agents/management pages , even if you don't use
 insight manager/SIM , no matter what OS is on the HP servers - but, this
 is now off-topic, apologies! :(

 -Original Message-
 From: Andrew Davis [mailto:ncc...@gmail.com ncc...@gmail.com]
 Sent: Wednesday, May 20, 2009 3:34 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Monitoring clustered resources with
 Windows...

 Thanks. Unfortunately I doubt our Windows Admin is going to install the
 HP agents on all the systems. I wonder if the MIB's for the cluster
 service in Server 2008 are public and queryable... off to dig around.


   A. Davis
   Email: ncc...@gmail.com

   There is no limit to what a man can accomplish
if he doesn't care who gets the credit. - Ronald Reagan


 James Pratt wrote:

   Apologies - that site is really acting strange lately.
   
   I used to use this one, but it requires HP hardware, and since
 we are
   mostly a vmware shop, it's no good to me anymore -
   
   http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm
   l;d=1
   
   (let me know if that link is broken as well - if so, you can try
 to
   google for check_mscs_hpma instead)
   
   Sorry!
   James
   
   
   
   -Original Message-
   From: Andrew Davis [mailto:ncc...@gmail.com ncc...@gmail.com]
   Sent: Wednesday, May 20, 2009 2:01 PM
   To: nagios-users@lists.sourceforge.net
   Subject: Re: [Nagios-users] Monitoring clustered resources with
   Windows...
   
   Were you trying to link to a specific project/plugin ID cause it
 just
   took me to the main nagiosexchange page which I've already
 searched and
   its coming up dry for add-ons that would address my question...
 maybe
   your URL was bad?
   
   
 A. Davis
 Email: ncc...@gmail.com
   
 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan
   
   
   James Pratt wrote:
   
   Seems there is a new resource for this since The
 Fork...
   
   http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1
   
   hth,
   regards
   Jamie
   
   -Original Message-
   From: Andrew Davis [mailto:ncc...@gmail.com ncc...@gmail.com]
   Sent: Wednesday, May 20, 2009 1:19 PM
   To: nagios-users@lists.sourceforge.net
   Subject: [Nagios-users] Monitoring clustered resources
 with
   Windows...
   
   One of our admins is actively migrating us from Server
 2003 to
   Server
   2008 and using the built-in clustering capabilities of
 '08 to
   enable
   service-level failover. So far, he's done so with
 Exchange,
   print server
   services, and SQL. I'm wondering how to best monitor
 shares
   resources on
   Windows hosts from Nagios. At present, we use nsclient++
 to
   watch the
   physical servers. This is good for basic checks of load
 average,
   memory,
   local disk consumption, etc. I can even monitor services