Re: [Nagios-users-br] Ajuda com LibMySQL

2009-02-02 Thread pedro luiz nunes pinholato
Ah entendi, então blz.
Cara responde uma coisa pra mim, eu nunca usei o nagios com banco de dados,
mas depois que eu instalei e configurei o nagios, é muito complicado pra eu
instalar o mysql e fazer ele trabalhar com o nagios? por que eu só falando
que o mysql precisa ser instalado antes do nagios.

2009/1/28 Augusto Ferronato augusto.ferron...@gmail.com

 Pedro,
  Consegui resolver o problema, era pq o mysql que tava instalado, tava
 todo fora do padrão ;), linkei os headers e funcionou!


 Abs[]

 On Tue, Jan 27, 2009 at 8:24 PM, pedro luiz nunes pinholato
 pedrolnp...@gmail.com wrote:
  Cara, vc já confirmou se todas as dependencias do nagios e o mysql estão
  instaladas?
 
  2009/1/26 Augusto Ferronato augusto.ferron...@gmail.com
 
  Pessoal,
   Estou instalando o nagios-plugins aqui no meu servidor, só que ele tá
  dando este erro
 
 then mv -f .deps/check_mysql-check_mysql.Tpo
  .deps/check_mysql-check_mysql.Po; else rm -f
  .deps/check_mysql-check_mysql.Tpo; exit 1; fi
  check_mysql.c:48:19: error: mysql.h: No such file or directory
  check_mysql.c:49:20: error: errmsg.h: No such file or directory
  check_mysql.c:56: error: âMYSQL_PORTâ undeclared here (not in a
 function)
  check_mysql.c: In function âmainâ:
  check_mysql.c:71: error: âMYSQLâ undeclared (first use in this function)
  check_mysql.c:71: error: (Each undeclared identifier is reported only
 once
  check_mysql.c:71: error: for each function it appears in.)
  check_mysql.c:71: error: expected â;â before âmysqlâ
  check_mysql.c:72: error: âMYSQL_RESâ undeclared (first use in this
  function)
  check_mysql.c:72: error: âresâ undeclared (first use in this function)
  check_mysql.c:73: error: âMYSQL_ROWâ undeclared (first use in this
  function)
  check_mysql.c:73: error: expected â;â before ârowâ
  check_mysql.c:92: error: âmysqlâ undeclared (first use in this function)
  check_mysql.c:94: error: âMYSQL_READ_DEFAULT_GROUPâ undeclared (first
  use in this function)
  check_mysql.c:98: error: âCR_UNKNOWN_HOSTâ undeclared (first use in
  this function)
  check_mysql.c:100: error: âCR_VERSION_ERRORâ undeclared (first use in
  this function)
  check_mysql.c:102: error: âCR_OUT_OF_MEMORYâ undeclared (first use in
  this function)
  check_mysql.c:104: error: âCR_IPSOCK_ERRORâ undeclared (first use in
  this function)
  check_mysql.c:106: error: âCR_SOCKET_CREATE_ERRORâ undeclared (first
  use in this function)
  check_mysql.c:113: warning: cast to pointer from integer of different
 size
  check_mysql.c:113: warning: cast to pointer from integer of different
 size
  check_mysql.c:113: warning: cast to pointer from integer of different
 size
  check_mysql.c:113: warning: passing argument 1 of âstrlenâ makes
  pointer from integer without a cast
  check_mysql.c:113: warning: passing argument 2 of âmemcpyâ makes
  pointer from integer without a cast
  check_mysql.c:113: warning: passing argument 1 of â__strdupâ makes
  pointer from integer without a cast
  check_mysql.c:117: error: âCR_SERVER_GONE_ERRORâ undeclared (first use
  in this function)
  check_mysql.c:119: error: âCR_SERVER_LOSTâ undeclared (first use in
  this function)
  check_mysql.c:121: error: âCR_UNKNOWN_ERRORâ undeclared (first use in
  this function)
  check_mysql.c:128: warning: cast to pointer from integer of different
 size
  check_mysql.c:128: warning: cast to pointer from integer of different
 size
  check_mysql.c:128: warning: cast to pointer from integer of different
 size
  check_mysql.c:128: warning: passing argument 1 of âstrlenâ makes
  pointer from integer without a cast
  check_mysql.c:128: warning: passing argument 2 of âmemcpyâ makes
  pointer from integer without a cast
  check_mysql.c:128: warning: passing argument 1 of â__strdupâ makes
  pointer from integer without a cast
  check_mysql.c:135: warning: cast to pointer from integer of different
 size
  check_mysql.c:135: warning: cast to pointer from integer of different
 size
  check_mysql.c:135: warning: cast to pointer from integer of different
 size
  check_mysql.c:135: warning: passing argument 1 of âstrlenâ makes
  pointer from integer without a cast
  check_mysql.c:135: warning: passing argument 2 of âmemcpyâ makes
  pointer from integer without a cast
  check_mysql.c:135: warning: passing argument 1 of â__strdupâ makes
  pointer from integer without a cast
  check_mysql.c:147: error: ârowâ undeclared (first use in this function)
  check_mysql.c:148: warning: cast to pointer from integer of different
 size
  check_mysql.c:148: warning: cast to pointer from integer of different
 size
  check_mysql.c:148: warning: cast to pointer from integer of different
 size
  check_mysql.c:148: warning: passing argument 1 of âstrlenâ makes
  pointer from integer without a cast
  check_mysql.c:148: warning: passing argument 2 of âmemcpyâ makes
  pointer from integer without a cast
  check_mysql.c:148: warning: passing argument 1 of â__strdupâ makes
  pointer from integer without a cast
  check_mysql.c:166: error: 

[Nagios-users] Antwort: RRDtool Aberrant behavior detection

2009-02-02 Thread Sascha . Runschke
Marco Tirado marco.tir...@gmail.com schrieb am 31.01.2009 18:01:55:

 I am very interested in integrating RRDtool's features for aberrant 
 behavior detection with my nagios implementation. I still have not 
 found a plugin for this and I would like to know if anybody has 
 already implemented this. 
 
 I guess an option would be to adapt plugins pnp4nagios or 
 nagiosgraph to get it to work. Any pointers or comments are deeply
 appreciated. 

I'm unsure how you want to implement the ABD of RRD.
Do you just want to use it to visualize anomalities, or do you
want nagios to notify you if an anomality occurs?
The pure visualization is pretty simple, I've already done that. Sadly the 
results
were a bit - disappointing.
After evaluating the graphs with aberrant behaviour detection we came to 
the conclusion,
that about 99% of our nagios checks cannot be used to detect real 
anomalities.
Things like diskfree, CPU, network i/o, disk i/o and the such do not 
follow strict patterns
and are unpredictable most of the time. The only things we found ABD to be 
helpful with
were monitoring temperature and humidity in our datacenters.

PNP4Nagios can be easily used to implement ABD, all you have to do is 
change
the rra.cfg to reflect the necessary aberrant behaviour detection RRAs. 
But
keep in mind that you have to make those changes to the config _before_ 
the
first RRD gets created, since you cannot add RRAs to existing RRDs - at 
least
not without major knowledge in manipulating RRDs (say: export dump and 
manual import
with selfmade scripts)

Regards
Sascha

-- 
Sascha Runschke
IT-Infrastruktur

fon  : +49 (201) / 102-1879
fax  : +49 (201) / 102-1102105
mobil : +49 (173) / 5419665



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] checkplugin for a http xml query (a SOAP webservice)

2009-02-02 Thread Roderick Derks
Hi!

Does anyone know if there is a plugin to check a SOAP XML webservice? I want to 
sent a query and check if I get a reply.

Thnks!
Roderick

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] checkplugin for a http xml query (a SOAP webservice)

2009-02-02 Thread Roderick Derks
Hi!

Does anyone know if there is a plugin to check a SOAP XML webservice? I want to 
sent a query and check if I get a reply.

Thnks!
Roderick

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] templates.cfg

2009-02-02 Thread Assaf Flatto
You can extract the file to any directory you want and then add the cfg_file 
directive that points 
to it in the nagios.cfg .

that being said - if your packages created a conf.d dir , your best way to go 
is to put it in 
there .
This is a all inclusive  directory where the nagios will read all .cfg files 
and load them.

Assaf


On Saturday 31 January 2009 00:13:43 mar...@chetnet.co.uk wrote:
 Hi all first time user here of Nagios.
 I'm using Unbunto 8.10 which automatically installed
 Nagios3, I have followed the guides which all mention
 the templates.cfg, problem is the only one I can find
 is zipped up in the directory
 /usr/share/doc/nagios3/examples/template-object, if I
 extract this file what directory should I put it in,
 should it go in my /etc/nagios3 dir or in
 /etc/nagios3/conf.d

 Hope you can help me on my quest to learn about this
 fantastic monitoring solution.

 Regards

 Martyn


 ---
--- This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 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



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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor lun statistics

2009-02-02 Thread Marc Ismael
Has anyone implemented / is there any effective way to monitor lun activity
/ health?

Thank you,
Marc
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Sorry Assaf I'm not following, all I did was replicate the C:\ drive below,
where else should I be checking ?

Thanks 

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 02 February 2009 14:35
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitor Disk Drive


What does the command look like ?

Since the service is invoking a command - you need to make sure that the
structure adheres to the format requested by the command .



On Monday 02 February 2009 14:12:40 Martyn wrote:
 How do I monitor another disk drive other that c:\

 Below is the script to monitor the C:\ drive so I assumed I changed the c
 to a f which is my other drive but Nagios will not restart.

 define service{
   use generic-service
   host_name   winserver
   service_description C:\ Drive Space
   check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
   }


 define service{
   use generic-service
   host_name   winserver
   service_description F:\ Drive Space
   check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90
   }

 Thanks

 Martyn



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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 8:12 AM, Martyn wrote:

 How do I monitor another disk drive other that c:\

 Below is the script to monitor the C:\ drive so I assumed I changed  
 the c to a f which is my other drive but Nagios will not restart.


This change would not cause nagios to not restart. What is the error  
that nagios is reporting?

--
Marc


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Just says Running Configuration Check...Config Error Restart aborted. Check
you Nagios Configuration

If I comment out the F:\ checking then all is well.

I have just tried the following command line which worked so I'm not
following why it will not work from within Nagios.

/usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE -l f -p
12489 -w 80% 

Rgs

Martyn

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 02 February 2009 14:46
To: nagios-users ML
Subject: Re: [Nagios-users] Monitor Disk Drive


On Feb 2, 2009, at 8:12 AM, Martyn wrote:

 How do I monitor another disk drive other that c:\

 Below is the script to monitor the C:\ drive so I assumed I changed 
 the c to a f which is my other drive but Nagios will not restart.


This change would not cause nagios to not restart. What is the error  
that nagios is reporting?

--
Marc



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Palle L Jensen
Martyn,

 

Running Nagios 3.01 - This is how I monitor different disk drives on windows
machines, using NSClient++.

 

Example C and F: drives:

 

I define a command(s) in commands.cfg, like this:

 

# Define command for disk space on C:   ---#

define command{

command_name  check_diskc

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

   }

 

# Define command for disk space on F:   ---#

define command{

command_name  check_diskf

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

   }

 

In services.cfg I define the checks:

 

# Monitoring Disk Usage C:\

define service {

use  generic-service

host_namehostname

service_description  Disk-C

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2host=$HOSTNAME$service=Disk-
C

check_commandcheck_diskc!USEDDISKSPACE!-l c -w 95 -c 98

   }

 

# Monitoring Disk Usage F:\

define service {

use  generic-service

host_namehostname

service_description  Disk-F

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2host=$HOSTNAME$service=Disk-
F

check_commandcheck_diskf!USEDDISKSPACE!-l c -w 95 -c 98

}

 

 

Hope that helps!

 

Thanks,

PJ

 

 

 

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 9:13 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitor Disk Drive

 

How do I monitor another disk drive other that c:\ 

Below is the script to monitor the C:\ drive so I assumed I changed the c to
a f which is my other drive but Nagios will not restart.

define service{ 
use generic-service 
host_name   winserver 
service_description C:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90 
} 

 

define service{ 
use generic-service 
host_name   winserver 
service_description F:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90 
} 

Thanks 

Martyn 

 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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 SELinux

2009-02-02 Thread Chris Beattie
I compiled Nagios 3 from source on CentOS 5.2 with SELinux set to Enforcing.  I 
installed Nagios following the Fedora Quickstart guide.  SELinux will prevent 
just about everything in Nagios' web page from running.  It was an iterative 
process to get everything allowed, since I kept finding things I'd missed the 
previous time through these steps.  CentOS 5.2 (and RHEL, I assume) had some 
SELinux tuning tools installed, but I don't know if they're available on other 
distros.

1.  Click on the links in Nagios' side bar, try to send acknowlegements, etc.
2.  Use the SE Troubleshoot Browser to take a look at the audit.log file and 
clean out anything not caused by Nagios.
3.  If this isn't the first time through the steps, make a backup copy of your 
type enforcement settings (.te) file.
4.  Run:  #audit2allow -m mynagios -l -i audit.log  mynagios.te
5.  If this isn't the first time through the steps, use a text editor to merge 
the contents of your current and previous .te files.
6.  Run:  #checkmodule -M -m -o mynagios.mod mynagios.te
7.  Run:  #semodule_package -o mynagios.pp -m mynagios.mod
8.  Run:  #semodule -i mynagios.pp
9.  Verify your policy package has been installed by running #semodule -i
10. Return to step 1 until SELinux lets Nagios do everything Nagios needs to do.

Keeping a backup of your type enforcement file is necessary because if Nagios 
is allowed to do some things, they won't continue creating entries in 
audit.log, and audit2allow won't pick them up the next time around.  You want 
your .te file to accumulate all the necessary settings.

There was a Nagios policy package installed in CentOS already, but it didn't 
work for me.  When you create your own SELinux policy packages, give your 
package a unique name.  I think that will prevent it from being clobbered if 
the stock package gets updated by your distribution's maintainer.




From: Stephen H. Dawson [mailto:serv...@shdawson.com]
Sent: Sun 2/1/2009 8:36 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios  SELinux


Good Morning,


We are going with SELinux on some of our servers.  We are looking for anyone 
that uses SELinux on their Nagios machines.  Preferably, best practices  what 
not.  Any guidance would be most appreciated.


Thank You,
Stephen H. Dawson

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] lun monitoring

2009-02-02 Thread Marc Ismael
Hi,

Anyone implemented any sort of lun monitoring plugin? Just gathering ideas
on what is already out there before I get my hands dirty. Thanks.

Marc
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Yes it does help Palle and thanks for the reply, just on a learning curve
here.
 
Martyn

  _  

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: 02 February 2009 15:32
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Monitor Disk Drive



Martyn,

 

Running Nagios 3.01 - This is how I monitor different disk drives on windows
machines, using NSClient++.

 

Example C and F: drives:

 

I define a command(s) in commands.cfg, like this:

 

# Define command for disk space on C:   ---#

define command{

command_name  check_diskc

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

   }

 

# Define command for disk space on F:   ---#

define command{

command_name  check_diskf

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

   }

 

In services.cfg I define the checks:

 

# Monitoring Disk Usage C:\

define service {

use  generic-service

host_namehostname

service_description  Disk-C

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2host=$HOSTNAME$service=Disk-
C

check_commandcheck_diskc!USEDDISKSPACE!-l c -w 95 -c 98

   }

 

# Monitoring Disk Usage F:\

define service {

use  generic-service

host_namehostname

service_description  Disk-F

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2host=$HOSTNAME$service=Disk-
F

check_commandcheck_diskf!USEDDISKSPACE!-l c -w 95 -c 98

}

 

 

Hope that helps!

 

Thanks,

PJ

 

 

 

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 9:13 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitor Disk Drive

 

How do I monitor another disk drive other that c:\ 

Below is the script to monitor the C:\ drive so I assumed I changed the c to
a f which is my other drive but Nagios will not restart.

define service{ 
use generic-service 
host_name   winserver 
service_description C:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90 
} 

 

define service{ 
use generic-service 
host_name   winserver 
service_description F:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90 
} 

Thanks 

Martyn 

 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Disable inherited checks?

2009-02-02 Thread Keith Edmunds
 You can disable inherited service checks for a host by putting an
 exclamation mark in front of the host name in the service definition.
 Look for Excluding Hosts in
 http://nagios.sourceforge.net/docs/3_0/objecttricks.html.

Thanks Chris. The problem with that is that I need to list all hosts in
the service definition.

The problem I'm trying to solve is that we monitor around 70 nodes with
Nagios, and when we add a new monitor, we have to update all host files
and it's easy for some services to be missed on some nodes. To avoid that,
I'd rather set things up so that all hosts monitor all services except
where specifically excluded. In other words, everything on by default and
selectively turn off what is not needed; it seems that Nagios works by
having everything off by default and selectively turning things on. I can,
of course, put host_name * in the service definition, but then I need to
disable that service for some hosts. Hmm, thinking aloud, maybe I can do
host_name *, !not_this_one, !or_this_one ...  I'll try that.

Thanks,
Keith

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] lun monitoring

2009-02-02 Thread Andreas Ericsson
Marc Ismael wrote:
 Hi,
 
 Anyone implemented any sort of lun monitoring plugin? Just gathering ideas
 on what is already out there before I get my hands dirty. Thanks.
 

You're far too anxious to let others solve your problems. It was less than
two hours ago you sent your earlier email, and you still haven't told us
what google queries you (presumably unsuccessfully) tried or which other
places you've looked for information.

If you appear as a timesink, people will pour anything but time your way.

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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] lun monitoring

2009-02-02 Thread Russell Adams
What would you monitor?

Path availability would be the only item of note, and querying that
information will vary by SAN driver and OS.

Otherwise a LUN should show up as a disk with a filesystem that could
be monitored with existing tools.

On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote:
 Hi,
 
 Anyone implemented any sort of lun monitoring plugin? Just gathering ideas
 on what is already out there before I get my hands dirty. Thanks.
 
 Marc

 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 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


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Disable inherited checks?

2009-02-02 Thread Max
Another way to make scaling host  configurations easier is to use the

service - hostgroup - host

relationship in your configuration.

 For example, we have one set of  SNMP-based checks that work for the
Net-SNMP SNMp agent, and another set that work with the commercial
SysEdge agent..

So, combining the previous poster's idea with this relationship, we
create a base sysedge-host host template and then add the host
template and all of the Sysedge checks to the sysedge-hosts host
group.

This way hosts can inherit from a single template and get all the
checks associated with that group.

We use this dual template and host group method when we have custom
attributes that we need to add in order for the custom checks to work
.. in cases where you don't have custom attributes like SNMP ports and
community strings etc, you could just create related groups of
services, add them to a host group, then just add new or existing
hosts to the host group through the host group attribute of the host
.. and voila .. done.

- max

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] HP Network Printer

2009-02-02 Thread Martyn
Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins.

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described

Thanks for your continued support

Martyn
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Disable inherited checks? [OT: outlook settings]

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote:

 Sorry for the top-posting: I'm stuck with Outlook.

heh. That's an excuse? ;) Here's what I do to make it more 'standard'  
when I have to use it --

Tools - Options
- Email Options
- Remove extra line breaks in plain text messages
- Read all standard mail in plain text
- On replies and forwards
- Prefix each line of the original message
- Prefix each line of the original message
- 
- Mail Format
- Compose in this message format: Plain Text
- Internet Format...
- Outlook Rich Text options
- Convert to plain text format  

--
Marc

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] lun monitoring

2009-02-02 Thread Marc Ismael
Andreas, I have absolutely *no clue* what you are talking about, this is the
first email I sent for this month to nagios-users.
I'm guilty on the other point you raised, I'm interested if there's
nagios-users@lists.sourceforge.net something I can do to effectively measure
how busy a lun is, e.g. is running an iostat against a lun and looking at %b
as reliable as running it against a local disk. Nor am I anxious to let
others solve my problems I've been reading and am currently reading some
writeups on lun performance monitoring and I thought it wouldn't be a bad
idea to throw a question onto this thread. I'm sorry if you saw it that way.


On 2/3/09, Andreas Ericsson a...@op5.se wrote:

 Marc Ismael wrote:

 Hi,

 Anyone implemented any sort of lun monitoring plugin? Just gathering ideas
 on what is already out there before I get my hands dirty. Thanks.


 You're far too anxious to let others solve your problems. It was less than
 two hours ago you sent your earlier email, and you still haven't told us
 what google queries you (presumably unsuccessfully) tried or which other
 places you've looked for information.

 If you appear as a timesink, people will pour anything but time your way.

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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] HP Network Printer

2009-02-02 Thread Martyn
Update, but I'm still getting Error in packet ( )  in my printer status

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161

Hope you can help

 _ 
 From: Martyn [mailto:mar...@chetnet.co.uk] 
 Sent: 02 February 2009 17:33
 To:   'nagios-users@lists.sourceforge.net'
 Subject:  HP Network Printer
 
 Just looking to start and monitor an HP 2600n printer and have come across
 the following statement in the quick start guide
 
 The check_hpjd plugin will only get compiled and installed if you have the
 net-snmp and net-snmp-utils
 packages installed on your system. Make sure the plugin exists in
 /usr/local/nagios/libexec before you
 continue. If it doesn't, install net-snmp and net-snmp-utils and
 recompile/reinstall the Nagios plugins.
 
 OK do these get installed when you download and compile
 nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
 looked through my nagios/libexec directory and noticed that check_snmp is
 in there but not the above two.
 
 Where would I get hold of the two files as described
 
 Thanks for your continued support
 
 Martyn
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Disable inherited checks? [OT: outlook settings]

2009-02-02 Thread Chris Beattie
Marc Powell wrote:
  On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote:
 
  Sorry for the top-posting: I'm stuck with Outlook.
 
  heh. That's an excuse? ;) Here's what I do to make it more 'standard'
  when I have to use it --

I started with BBSes in the early eighties, so to this day combining 
Outlook and mailing lists is like being a parent stuck with a crying 
baby in a restaurant: embarrassing and one should try not to do it too 
often.

I tried your suggestions in the past, but unfortunately it makes it 
difficult to communicate with the rest of the company since everyone 
else uses the default settings.

What I *could* do (if I was going to recommend circumventing a company's 
IT policy in a public forum) is surreptitiously re-enable IMAP on my 
Exchange account, install a proper mail client on my Nagios testing box 
(since Websense blocks the sites to install anything interesting for 
Windows, but not the CentOS repositories), and hope nobody notices.  :-)

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Check for CPU Temperature

2009-02-02 Thread Stephen H. Dawson
Hi,
 
 
Has anyone setup a check to watch the CPU temperature of a computer?  Can see 
what that is through:
 

cat /proc/acpi/thermal_zone/THRM/temperature

 

However, would like to log that info in Nagios as a check.

 

 

Thank You,
Stephen H. Dawson

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Kerberos include files... could not find

2009-02-02 Thread Chris Beattie
Krishna Chandra Prajapati wrote:
 Hi,
 
 While compiling nrpe. It gives the below issue.
 
 checking for Kerberos include files... could not find include files

This isn't Nagios-specific, but what I've found compiling from source is 
that it may be necessary to install the -devel packages for things the 
program I'm compiling depends on.  For example, if I got that message, I 
would verify that I had, say, the krb5 package installed, and then 
following that, also install krb5-devel, and try the configure step again.

-- 
Chris Beattie

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] HP Network Printer

2009-02-02 Thread Palle L Jensen
Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting Error in packet ( )  in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [ mailto:mar...@chetnet.co.uk mailto:mar...@chetnet.co.uk] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] HP Network Printer

2009-02-02 Thread James Pratt
Sorry Palle, I meant to reply to the list!.. my bad... :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp
is fairly worthless - I use the ones at http://nagios.manubulon.com
instead...

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running
you could use the check_ping. Assuming it's a network printer with
enabled NIC.

 

Thanks,

PJ

 



From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting Error in packet ( )  in my printer
status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see
all the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [mailto:mar...@chetnet.co.uk
mailto:mar...@chetnet.co.uk ] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come
across the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have
the net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I
have looked through my nagios/libexec directory and noticed that
check_snmp is in there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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 threshold for

2009-02-02 Thread Scott
We have a problem that frequently pops up in our monitoring 
environment.  Our monitoring server has adequate bandwidth but we share 
with an occasional bandwidth hog.  Sometimes they steal the bulk of our 
available bandwidth causing Nagios to be unable to adequately reach the 
systems it monitors.  What results is an onslaught of hundreds and 
thousands of pages to everyone telling us that systems and services are 
down... one page for each that is monitored!  Sometimes more if the 
bandwidth is pinched for a prolonged period of time.  Legitimate pages 
are lost in the process.

Is there a way to put a threshold on Nagios if Time Out messages are 
received from a certain number of hosts or services?  If 4 distinct 
sites are timing out at the same time it should stop all notifications 
for all hosts and services and send a single page indicating a bandwidth 
issue.  Is there any facility in Nagios that even slightly resembles 
what I've described?  TIA!

-Scott

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 for CPU Temperature

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 1:31 PM, Stephen H. Dawson wrote:

 Hi,


 Has anyone setup a check to watch the CPU temperature of a  
 computer?  Can see what that is through:

'nagios check lm_sensors' is what you want to google for.

--
Marc


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] templates.cfg

2009-02-02 Thread Martyn
Assaf thanks for the reply, I could not understand where in Nagios it
pointed to the conf.d directory and why it looked there for its .cfg files,
now I understand

Thanks

Maryn  

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 02 February 2009 09:15
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] templates.cfg

You can extract the file to any directory you want and then add the cfg_file
directive that points to it in the nagios.cfg .

that being said - if your packages created a conf.d dir , your best way to
go is to put it in there .
This is a all inclusive  directory where the nagios will read all .cfg
files and load them.

Assaf


On Saturday 31 January 2009 00:13:43 mar...@chetnet.co.uk wrote:
 Hi all first time user here of Nagios.
 I'm using Unbunto 8.10 which automatically installed Nagios3, I have 
 followed the guides which all mention the templates.cfg, problem is 
 the only one I can find is zipped up in the directory 
 /usr/share/doc/nagios3/examples/template-object, if I extract this 
 file what directory should I put it in, should it go in my 
 /etc/nagios3 dir or in /etc/nagios3/conf.d

 Hope you can help me on my quest to learn about this fantastic 
 monitoring solution.

 Regards

 Martyn


 
---

--- This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 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



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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 threshold for

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 2:39 PM, Scott wrote:

 Is there a way to put a threshold on Nagios if Time Out messages are
 received from a certain number of hosts or services?  If 4 distinct
 sites are timing out at the same time it should stop all notifications
 for all hosts and services and send a single page indicating a  
 bandwidth
 issue.  Is there any facility in Nagios that even slightly resembles
 what I've described?  TIA!

Nothing within nagios specifically. I can think of two solutions off  
the bat though --

1) Create a service check/plugin that tests for this condition  
specifically. How do you know that the issue you describe is the  
cause? Translate that to a plugin. Make that test the parent of all  
your other hosts or a service dependency if the problem shows itself  
only as service check failures.
2) If you can detect the problem reliably using a combination of  
specific host/service checks you have already, you could use  
check_cluster as a parent or service dependency as above. 
http://nagios.sourceforge.net/docs/2_0/clusters.html 
.

--
Marc


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Disable inherited checks?

2009-02-02 Thread Chris Beattie
You can disable inherited service checks for a host by putting an exclamation 
mark in front of the host name in the service definition.  Look for Excluding 
Hosts in http://nagios.sourceforge.net/docs/3_0/objecttricks.html.



From: Keith Edmunds [mailto:k...@midnighthax.com]
Sent: Sun 2/1/2009 10:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Disable inherited checks?



Is there a way to disable inherited checks?

I would like to have a master host file that lists all checks that are
valid on any host, and then override that on a per-host basis. For
example, I may have a check_pgsql in the master host file, but host_x
which inherits from the master file doesn't run PostgreSQL, so I'd like to
disable it in the host_x file.

Doable?

Thanks,
Keith

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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



Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Monitor lun statistics

2009-02-02 Thread James Pratt


From: Marc Ismael [mailto:marcism...@gmail.com] 
Sent: Monday, February 02, 2009 9:32 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitor lun statistics

Has anyone implemented / is there any effective way to monitor lun
activity / health? 

Thank you,
Marc

---
Hi,

Not sure what you mean as it likely depends on your san, or what you
want to monitor exactly (?).  We are an EMC/Vmware shop, so I just use
checks for ensuring LUN free space in ESX, via SNMP... 

Regards,
jamie



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Disable inherited checks?

2009-02-02 Thread Chris Beattie
Sorry for the top-posting: I'm stuck with Outlook.

Have you tried templates?  We have ~550 hosts and ~4500 services, and
it'd be a real pain to not use templates.

I have a host template definition for Windows servers, which adds
anything assigned that template to a windows_servers host group.  I have
a bunch of services defined which are assigned to everything in the
windows_servers host group.  When I add a new Windows host, I put use
prod_windows_server in the host definition, and the host is
automatically assigned service checks for CPU, C drive, E drive, memory,
page file, running antivirus, and a couple others.  I have a similar
setup for development servers, but we don't let them send notifications
outside of work hours.

For servers needing extra checks, I just add the extra service checks to
the hosts that need them.  For the servers which aren't standard for our
environment (some predate the standardization push and have a D: instead
of an E: drive, for example), I put a !hostname in the appropriate
service check definition.

-Original Message-
From: Keith Edmunds [mailto:k...@midnighthax.com] 
Sent: Monday, February 02, 2009 11:19 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Disable inherited checks?

 You can disable inherited service checks for a host by putting an
 exclamation mark in front of the host name in the service definition.
 Look for Excluding Hosts in
 http://nagios.sourceforge.net/docs/3_0/objecttricks.html.

Thanks Chris. The problem with that is that I need to list all hosts in
the service definition.

The problem I'm trying to solve is that we monitor around 70 nodes with
Nagios, and when we add a new monitor, we have to update all host files
and it's easy for some services to be missed on some nodes. To avoid
that,
I'd rather set things up so that all hosts monitor all services except
where specifically excluded. In other words, everything on by default
and
selectively turn off what is not needed; it seems that Nagios works by
having everything off by default and selectively turning things on. I
can,
of course, put host_name * in the service definition, but then I need
to
disable that service for some hosts. Hmm, thinking aloud, maybe I can do
host_name *, !not_this_one, !or_this_one ...  I'll try that.

Thanks,
Keith


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] lun monitoring

2009-02-02 Thread Marc Ismael
Thanks Russell, I've already got the path and target visibility monitoring
covered.
How about in terms of performance though? Is there value in monitoring io,
e.g. via iostat or another utility?

On 2/3/09, Russell Adams rlad...@adamsinfoserv.com wrote:

 What would you monitor?

 Path availability would be the only item of note, and querying that
 information will vary by SAN driver and OS.

 Otherwise a LUN should show up as a disk with a filesystem that could
 be monitored with existing tools.


 On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote:
  Hi,
 
  Anyone implemented any sort of lun monitoring plugin? Just gathering
 ideas
  on what is already out there before I get my hands dirty. Thanks.
 
  Marc


 
 --
  This SF.net email is sponsored by:
  SourcForge Community
  SourceForge wants to tell your story.
  http://p.sf.net/sfu/sf-spreadtheword
  ___
  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


 --
 Russell Adamsrlad...@adamsinfoserv.com

 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 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

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Monitor Disk Drive

2009-02-02 Thread Martyn
Quite embarrassed now to say the lease, I had missed out the closing }

Sorry and thanks for your replies

Martyn 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 02 February 2009 15:10
To: nagios-users ML
Subject: Re: [Nagios-users] Monitor Disk Drive


On Feb 2, 2009, at 8:55 AM, Martyn wrote:

 Just says Running Configuration Check...Config Error Restart aborted. 
 Check you Nagios Configuration

run '/path/to/nagios -v /path/to/nagios.cfg' to check your nagios
configuration.

 If I comment out the F:\ checking then all is well.

/me thinks there's something else amiss...

 I have just tried the following command line which worked so I'm not 
 following why it will not work from within Nagios.

 /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE - l 
 f -p
 12489 -w 80%

Nagios doesn't actually _ever_ verify if this works or not. It just trusts
that it does and runs it when the service check is scheduled.  
If it fails, you'll see it in the web GUI for Status Information.

--
Marc


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Kerberos include files... could not find

2009-02-02 Thread Krishna Chandra Prajapati
Hi,

While compiling nrpe. It gives the below issue.

checking for SSL... SSL found in /usr/local/ssl

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
..+..+.+.+.+.+...+...+..+..+++*++*++*++*++*++*
checking for Kerberos include files... could not find include files
./configure: line 6165: A: command not found
checking for perl... /usr/local/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating subst
config.status: creating include/config.h
config.status: include/config.h is unchanged


*** Configuration summary for nrpe 2.8 05-08-2007 ***:

 General Options:
 -
 NRPE port:  5666
 NRPE user:  nagios
 NRPE group: nagios


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the NRPE daemon and client.


-- 
Krishna Chandra Prajapati
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] lun monitoring

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 12:04 PM, Marc Ismael wrote:

 Andreas, I have absolutely *no clue* what you are talking about,  
 this is the first email I sent for this month to nagios-users.

Ghosts in the machine...

 From: marcism...@gmail.com
Subject: [Nagios-users] Monitor lun statistics
Date: February 2, 2009 8:32:07 AM CST

-

From: marcism...@gmail.com
Subject: [Nagios-users] lun monitoring
Date: February 2, 2009 10:14:57 AM CST

--
Marc

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Marc Powell

On Feb 2, 2009, at 8:55 AM, Martyn wrote:

 Just says Running Configuration Check...Config Error Restart  
 aborted. Check
 you Nagios Configuration

run '/path/to/nagios -v /path/to/nagios.cfg' to check your nagios  
configuration.

 If I comment out the F:\ checking then all is well.

/me thinks there's something else amiss...

 I have just tried the following command line which worked so I'm not
 following why it will not work from within Nagios.

 /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE - 
 l f -p
 12489 -w 80%

Nagios doesn't actually _ever_ verify if this works or not. It just  
trusts that it does and runs it when the service check is scheduled.  
If it fails, you'll see it in the web GUI for Status Information.

--
Marc

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Assaf Flatto

What does the command look like ?

Since the service is invoking a command - you need to make sure that the 
structure adheres to the 
format requested by the command .



On Monday 02 February 2009 14:12:40 Martyn wrote:
 How do I monitor another disk drive other that c:\

 Below is the script to monitor the C:\ drive so I assumed I changed the c
 to a f which is my other drive but Nagios will not restart.

 define service{
   use generic-service
   host_name   winserver
   service_description C:\ Drive Space
   check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
   }


 define service{
   use generic-service
   host_name   winserver
   service_description F:\ Drive Space
   check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90
   }

 Thanks

 Martyn



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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] lun monitoring

2009-02-02 Thread Russell Adams
Marc,

In the spirit that each tool is supposed to fill one function and do
it well, I don't use Nagios for trending. Nagios is operational status
monitoring only.

I'd suggest you look at other tools for that level of performance. One
issue you will have is where will you query it? On certain OS's you can
query disk statistics, or you may be able to get the data from the
backend storage, or perhaps an aggregate from the SAN switch.

I am not aware of any integrated solutions except those high dollar
packages sold by storage vendors (ala TPC).

Good luck.


On Tue, Feb 03, 2009 at 06:59:52AM +0800, Marc Ismael wrote:
 Thanks Russell, I've already got the path and target visibility monitoring
 covered.
 How about in terms of performance though? Is there value in monitoring io,
 e.g. via iostat or another utility?
 
 On 2/3/09, Russell Adams rlad...@adamsinfoserv.com wrote:
 
  What would you monitor?
 
  Path availability would be the only item of note, and querying that
  information will vary by SAN driver and OS.
 
  Otherwise a LUN should show up as a disk with a filesystem that could
  be monitored with existing tools.
 
 
  On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote:
   Hi,
  
   Anyone implemented any sort of lun monitoring plugin? Just gathering
  ideas
   on what is already out there before I get my hands dirty. Thanks.
  
   Marc
 
 
  
  --
   This SF.net email is sponsored by:
   SourcForge Community
   SourceForge wants to tell your story.
   http://p.sf.net/sfu/sf-spreadtheword
   ___
   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
 
 
  --
  Russell Adamsrlad...@adamsinfoserv.com
 
  PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
 
  Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
 
 
  --
  This SF.net email is sponsored by:
  SourcForge Community
  SourceForge wants to tell your story.
  http://p.sf.net/sfu/sf-spreadtheword
  ___
  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
 

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 Windows Host's clock

2009-02-02 Thread Assaf Flatto

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

Try searching there .

On Saturday 31 January 2009 05:27:05 Kahlon, Robby wrote:
 Which Plugin and Addon would let Nagios to monitor the Windows host's
 clock?



 Can someone point me in a right direction?



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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] HP Network Printer

2009-02-02 Thread Martyn
James thanks for the reply, looks like there are many users with the same
issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html
 
The reason I want to use check_hpjd is because it reports back the toner
levels too.
 
I have spent the last 5 hours on Google and can not find any fix, does this
group know of a fix at all or do you think its a bug?
 
Thanks

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@chetnet.co.uk
Subject: RE: [Nagios-users] HP Network Printer



Sorry Palle, I meant to reply to the list!.. my bad. :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is
fairly worthless - I use the ones at http://nagios.manubulon.com instead.

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting Error in packet ( )  in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [ mailto:mar...@chetnet.co.uk mailto:mar...@chetnet.co.uk] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] HP Network Printer

2009-02-02 Thread Martyn
I think it may be a bug because if I use 'public' I get the error in
packet, if I use anything with less that 6 characters I get the same error,
if I use public1 or anything with more than 6 characters I just get host
time outs.
 
check_ping works fine
 
Thanks

  _  

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: 02 February 2009 20:00
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer



Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting Error in packet ( )  in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [ mailto:mar...@chetnet.co.uk mailto:mar...@chetnet.co.uk] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] HP Network Printer

2009-02-02 Thread James Pratt
Hi Martyn.

 

I'm not sure why check_hpjd did not get compiled on your system. It
appears you need at least net-snmp, and probably net-snmp-devel packages
at least, as here is what is on my system:

 

$ rpm -qa | grep snmp

 

net-snmp-libs-5.3.1-24.el5_2.2

net-snmp-utils-5.3.1-24.el5_2.2

net-snmp-5.3.1-24.el5_2.2

net-snmp-devel-5.3.1-24.el5_2.2

net-snmp-perl-5.3.1-24.el5_2.2

 

Have you checked for those packages installed, as they are not installed
by Nagios, and depending on your linux distro, may not be in the default
setup..

 

I have it on mine,  but I use lots of SNMP, so it's no surprise.. I
don't see any option for checking toner, but maybe that's a different
check... (?)

 

$ ./check_hpjd --help

check_hpjd v1991 (nagios-plugins 1.4.13)

Copyright (c) 1999 Ethan Galstad nag...@nagios.org

Copyright (c) 2000-2007 Nagios Plugin Development Team

nagiosplug-de...@lists.sourceforge.net

 

This plugin tests the STATUS of an HP printer with a JetDirect card.

Net-snmp must be installed on the computer running the plugin.

 

 

Usage:check_hpjd -H host [-C community]

 

Options:

 -h, --help

Print detailed help screen

 -V, --version

Print version information

 -C, --community=STRING

The SNMP community name (default=public)

 

Send email to nagios-users@lists.sourceforge.net if you have questions

regarding use of this software. To submit patches or suggest
improvements,

send email to nagiosplug-de...@lists.sourceforge.net

 

--

 

 

Regards,

Jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 6:42 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

James thanks for the reply, looks like there are many users with the
same issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html

 

The reason I want to use check_hpjd is because it reports back the toner
levels too.

 

I have spent the last 5 hours on Google and can not find any fix, does
this group know of a fix at all or do you think its a bug?

 

Thanks

 



From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@chetnet.co.uk
Subject: RE: [Nagios-users] HP Network Printer

Sorry Palle, I meant to reply to the list!.. my bad... :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp
is fairly worthless - I use the ones at http://nagios.manubulon.com
instead...

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running
you could use the check_ping. Assuming it's a network printer with
enabled NIC.

 

Thanks,

PJ

 



From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting Error in packet ( )  in my printer
status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see
all the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [mailto:mar...@chetnet.co.uk
mailto:mar...@chetnet.co.uk ] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come
across the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have
the net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I
have looked through my nagios/libexec directory and noticed that
check_snmp is in there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
Create and Deploy Rich Internet Apps 

Re: [Nagios-users] lun monitoring

2009-02-02 Thread James Pratt
 -Original Message-
 From: Russell Adams [mailto:rlad...@adamsinfoserv.com]
 Sent: Monday, February 02, 2009 6:38 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] lun monitoring
 
 Marc,
 
 In the spirit that each tool is supposed to fill one function and do
 it well, I don't use Nagios for trending. Nagios is operational status
 monitoring only.
 
 I'd suggest you look at other tools for that level of performance. One
 issue you will have is where will you query it? On certain OS's you
can
 query disk statistics, or you may be able to get the data from the
 backend storage, or perhaps an aggregate from the SAN switch.
 
 I am not aware of any integrated solutions except those high dollar
 packages sold by storage vendors (ala TPC).
 
 Good luck.
 

I would agree with Russell - Cacti  RRDtool (free/open-source) works
great for graphing/trending just about anything - free/open-source
too... :)

Jamie

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] lun monitoring

2009-02-02 Thread Tom Ammon


James Pratt wrote:
 -Original Message-
 From: Russell Adams [mailto:rlad...@adamsinfoserv.com]
 Sent: Monday, February 02, 2009 6:38 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] lun monitoring

 Marc,

 In the spirit that each tool is supposed to fill one function and do
 it well, I don't use Nagios for trending. Nagios is operational status
 monitoring only.

 I'd suggest you look at other tools for that level of performance. One
 issue you will have is where will you query it? On certain OS's you
 
 can
   
 query disk statistics, or you may be able to get the data from the
 backend storage, or perhaps an aggregate from the SAN switch.

 I am not aware of any integrated solutions except those high dollar
 packages sold by storage vendors (ala TPC).

 Good luck.

 

 I would agree with Russell - Cacti  RRDtool (free/open-source) works
 great for graphing/trending just about anything - free/open-source
 too... :)

 Jamie
   

I'll give a strong second to that - we use Cacti to graph 10,000+ data 
sources, and it works great. It's a strong tool.

Tom

-- 
-
Tom Ammon
Network Engineer
Mobile: 801.674.9273

Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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_snmp_storage.pl error: Service check did not exit properly

2009-02-02 Thread Chris
On Mon, Feb 2, 2009 at 3:54 PM, Chris atst...@gmail.com wrote:
 I can type the following

 ./check_snmp_storage.pl -H foo -C foo -m / -r -w 80% -c 90%

 and get the correct information. But I'm having trouble adding it to
 nagios configuration file.

 My partitions are not same for every host (eg. some hosts have a /tmp
 partition and some don't)

 In my commands.cfg I defined:

 define command{
command_namecheck_snmp_storage
command_line$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$
 -C $ARG1$ -m $ARG2$ -w 80% -c 90% -r
}


 And I define the service in my unix.cfg file as:

 define service{
use generic-service
host_name   server_name
service_description Disk /
check_command   check_snmp_storage!foo!/
}

 When I restart Nagios, I get status critical in Nagios web interface
 for this service check. Status Information says: (Service check did
 not exit properly)

More update: if I run /usr/lib/nagios/plugins/check_snmp_storage.pl
while I am under /root, I get this error message:

Can't locate utils.pm in @INC (@INC contains:
/usr/local/nagios/libexec /usr/lib/perl5/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at
/usr/lib/nagios/plugins/check_snmp_storage.pl line 21.
BEGIN failed--compilation aborted at
/usr/lib/nagios/plugins/check_snmp_storage.pl line 21

If I run it while I'm under /usr/lib/nagios/plugins/ directory, I
don't get any error message and it works.

I defined the command as $USER1$/check_snmp_storage.pl and also
/usr/lib/nagios/plugins/check_snmp_storage.pl - no luck.

check_snmp_storage.pl is owned by root and has read and execute for everyone.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] lun monitoring

2009-02-02 Thread Russell Adams
On Mon, Feb 02, 2009 at 05:22:12PM -0700, Tom Ammon wrote:
 
 
 I'll give a strong second to that - we use Cacti to graph 10,000+ data 
 sources, and it works great. It's a strong tool.
 
 Tom

Tom,

I have progressed through MRTG, Cricket, and now Torrus in my search
for a good trending tool. They all use RRDTool because its simply the
best at time series data, the differences are the frontend.

MRTG was the basic model, required complete manual configuration.

Cricket was better, more web layout and a little less configuration.

Torrus is what I've settled on. The autodiscovery feature was the
selling point. Cacti's web UI is nicer, but I love the
autodiscovery. Discovery is fairly easy to customize in XML and Perl.

What has your experience with Cacti been? Do they have good
autodiscovery now? How is support for adding new device types?

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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_snmp_storage.pl error: Service check did not exit properly

2009-02-02 Thread Max
Hi,

On Mon, Feb 2, 2009 at 7:39 PM, Chris atst...@gmail.com wrote:
 On Mon, Feb 2, 2009 at 3:54 PM, Chris atst...@gmail.com wrote:
 I can type the following

 ./check_snmp_storage.pl -H foo -C foo -m / -r -w 80% -c 90%

 and get the correct information. But I'm having trouble adding it to
 nagios configuration file.

 My partitions are not same for every host (eg. some hosts have a /tmp
 partition and some don't)

 In my commands.cfg I defined:

 define command{
command_namecheck_snmp_storage
command_line$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$
 -C $ARG1$ -m $ARG2$ -w 80% -c 90% -r
}


 And I define the service in my unix.cfg file as:

 define service{
use generic-service
host_name   server_name
service_description Disk /
check_command   check_snmp_storage!foo!/
}

 When I restart Nagios, I get status critical in Nagios web interface
 for this service check. Status Information says: (Service check did
 not exit properly)

Two separate issues here:
1)  For the utils.pm problem, you can add this line to the script
after the shebang line to have the perl interpreter find utils.pm.

#!/usr/bin/perl
use lib 'usr/lib/nagios/plugins/';

2)  For your custom service check command I recommend using custom
attributes if you are using Nagios 3.  Two benefits:
a)  You can associate your service with a hostgroup and then just add
hosts to that host group to have them pull in the service (don't have
to redefine new copies of the service over and over
b) More readabl configurations.

E.g. (made up example, does not match your code)

define command{
command_namecheck_snmp_storage
command_line$USER1$/my_disk_check_command.pl -w
$_HOST_DISK_WARN$ -c $_HOST_DISK_CRIT$ --partitions
$_HOST_DISK_PARTITION$
}

Then create your service one time and add it to the disk-check-hosts group

define service {
 service_description Disk Check Service
 hostgroup_name disk-check-hosts
 more attributes ...
}

Then create a host group disk-check-hosts

define hostgroup {
 hostgroup_name disk-check-hosts
 alias Disk check hosts
}

Then in your host you can use:

define host {
 use generic-host
 hostgroups +disk-check-hosts
__disk_partitions /var,/home
__disk_warn 85
__disk_crit 95
}

Little more work, but now you can add the service to additional hosts
by just adding them to the disk-check-hosts hostgroup and defining the
custom attributes in the host .. which means someone maintaining the
code sees the attributes in one place .. with the host definition.
Much more readable than having to browse through many services :).

- Max

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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_snmp_storage.pl error: Service check did not exit properly

2009-02-02 Thread Max
 Two separate issues here:
 1)  For the utils.pm problem, you can add this line to the script
 after the shebang line to have the perl interpreter find utils.pm.

 #!/usr/bin/perl
 use lib 'usr/lib/nagios/plugins/';

Should have written

use lib '/usr/lib/nagios/plugins';

missed the beginning slash in my first email.

-= max

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] lun monitoring

2009-02-02 Thread Tom Ammon


Russell Adams wrote:
 On Mon, Feb 02, 2009 at 05:22:12PM -0700, Tom Ammon wrote:
   
 I'll give a strong second to that - we use Cacti to graph 10,000+ data 
 sources, and it works great. It's a strong tool.

 Tom
 

 Tom,

 I have progressed through MRTG, Cricket, and now Torrus in my search
 for a good trending tool. They all use RRDTool because its simply the
 best at time series data, the differences are the frontend.

 MRTG was the basic model, required complete manual configuration.

 Cricket was better, more web layout and a little less configuration.

 Torrus is what I've settled on. The autodiscovery feature was the
 selling point. Cacti's web UI is nicer, but I love the
 autodiscovery. Discovery is fairly easy to customize in XML and Perl.

 What has your experience with Cacti been? Do they have good
 autodiscovery now? How is support for adding new device types?

 Thanks.


Russell,

Cacti is pretty SNMP-centric, but in our environment that is about all 
we are using it for anyway. I'm no cacti expert, but to me, that's the 
beauty of it - I don't really know the inner workings of cacti, and I am 
not a programmer or scripter, but I got it up and running pretty quickly.

I'm not sure if you would call it autodiscovery, but cacti does do an 
snmpwalk on the devices that you specify, and the pre-built data 
collection methods that come with it are designed for getting snmp 
interface statistics. You can, of course, add other data collection 
methods, but out of the box, it is basically an interface traffic 
grapher. You still have to manually input each device that you will 
collect data for. Once you have specified the basic host information, it 
gives you a table showing all of the interfaces on that device and a 
checkbox for each item that can be graphed.

To be fair, though (and this applies to nagios as well as cacti) most of 
the effort you put in to setting up a monitoring solution is a one-time 
thing. It takes time to input all of the devices, but for the most part 
once the devices to be monitored are specified, that work is over. I 
think people incorrectly place a lot of emphasis on this or that 
product's autodiscovery function. Cacti's interface makes it really easy 
to maintain the configuration, and I think that is a bigger win than 
autodiscovery.

What do you mean by new device types?

Tom

-- 
-
Tom Ammon
Network Engineer
Mobile: 801.674.9273

Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] lun monitoring

2009-02-02 Thread Russell Adams
On Mon, Feb 02, 2009 at 07:10:45PM -0700, Tom Ammon wrote:
 
 Russell,
 
 Cacti is pretty SNMP-centric, but in our environment that is about all 
 we are using it for anyway. I'm no cacti expert, but to me, that's the 
 beauty of it - I don't really know the inner workings of cacti, and I am 
 not a programmer or scripter, but I got it up and running pretty quickly.

SNMP is a great place to start, and very open. Its certainly more
reliable than the CIMOM implementations I see.

 I'm not sure if you would call it autodiscovery, but cacti does do an 
 snmpwalk on the devices that you specify, and the pre-built data 
 collection methods that come with it are designed for getting snmp 
 interface statistics. You can, of course, add other data collection 
 methods, but out of the box, it is basically an interface traffic 
 grapher. You still have to manually input each device that you will 
 collect data for. Once you have specified the basic host information, it 
 gives you a table showing all of the interfaces on that device and a 
 checkbox for each item that can be graphed.

Torrus is configured by feeding it a list of IP addresses and it
identifies the device and sets up all the counters to be
monitored. The detail is very good, more than just interface stats.

 To be fair, though (and this applies to nagios as well as cacti) most of 
 the effort you put in to setting up a monitoring solution is a one-time 
 thing. It takes time to input all of the devices, but for the most part 
 once the devices to be monitored are specified, that work is over. I 
 think people incorrectly place a lot of emphasis on this or that 
 product's autodiscovery function. Cacti's interface makes it really easy 
 to maintain the configuration, and I think that is a bigger win than 
 autodiscovery.

I consider autodiscovery to be absolutely critical. Maintaining a
handfull of machines is one thing, hundreds or thousands or machines
outside of your control are another. I wrote NACE to allow me to
perform fast autodiscovery for Nagios, and I've been pleased to couple
it with Torrus so they both have the same list of hosts.

 What do you mean by new device types?

Device types are essentially templates for what to monitor on a given
device. Hosts are cpu/mem/disk/net, switches might be
ports/traffic/cpu/mem/temp, etc.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Nagios side.html : tweaking Unhandled service problems

2009-02-02 Thread Frederik Vanhee
Hi,

I thought it was great to have the unhandled service problems in the 
sidebar.
Earlier versions didn't have it and I really needed it, so I'm very happy.

However, I'm running a distributed setup with active and passive service 
checks, so I'm not only interested in the active checks, but also in the 
passive checks
The default filter for unhandled service problems is :

Not in schedulded downtime  Has not been acknowledged  Active checks 
enabled = serviceprops = 42

what I really need is :

Not in schedulded downtime  Has not been acknowledged  Active checks 
enabled || Passive checks enabled = serviceprops = ??

I looked into the status.c source, but I can't seem to find the values 
to compose custom filters.
Is there anyone out there who can point me into the right direction ?

Thanks,

Frederik




--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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