[Nagios-users] error check_snmp for UPS

2009-10-02 Thread nadia kheffache
Hi,

Any one can help me to resolve my probleme please?
i have the same error when i execute chack_snmp to monitor UPS-onduleur and 
sensorIP (humidity and temperature server room).

./check_snmp -H UPS-onduleur1 -C public - o 
.1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 -w 185:210 -c 286:999  -l '\Input 
Voltage\' -u '\Volts\'

\Input Voltage\ probleme - No data receved from host (Pas de données reçues de 
l'hôte
Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] UPS-onduleur1:161

Thank you


 Can you help me please? i have the
 same error when i execute this commande:
 
 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o
 .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w $ARG2$:$ARG1$ -c
 $ARG4$:$ARG3$ -C $ARG5$ -l
 Temperature -u °C
 
 ./check_snmp -H sensorIP -v 1 -o
 .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 25:29 -c 30:99 -C
 public -l Temperature -u °C
 
 Temperature problème - Pas de donnèes reçues de l'hôte
 Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv]
 1:161  .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0
 
 to monitore the temperature in the local server with
 sensorIP, snmpwalk is ok,
 
 i have the same error with the UPS-onduleur
 
 thank you
 
 
 --- En date de : Jeu 1.10.09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 a écrit :
 
  De: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Objet: RE [spam?] [Nagios-users] error check_snmp for
 UPS
  À: nadia kheffache nadiakheffa...@yahoo.fr
  Cc: nagios-users@lists.sourceforge.net
  Date: Jeudi 1 Octobre 2009, 10h37
  Hi,
  
  Have you test with snmpwalk to see if you UPS
 onduleur
  respond ? Is the 
  UPS mib installed on the nagios server ?
  
  Frank
  
  email: frank.bourd...@dga.defense.gouv.fr
  fonction: administrateur systèmes et réseaux
  tel: 0241936560 
  fax: 0241936681
  ETAS - BP 60036 - route de Laval - 49245 AVRILLE
 CEDEX
  [ENVOYE PAR INTERNET]
  
  
  
  nadia kheffache nadiakheffa...@yahoo.fr
  
  01/10/2009 10:16
  
  A
  nagios-users@lists.sourceforge.net
  cc
  
  Objet
  [spam?] [Nagios-users] error check_snmp for UPS
  
  
  
  
  
  
  
  Hi,
  
  I wont to monitor an ups (onduleur),i use a basic
 nagios
  plugin_snmp.
  
  but i have these error, i can't get any information
 about
  this ups.
  
  can you help me please?
  
  thank you
  
  [nag...@nagios01 libexec]$ ./check_snmp -H
 UPS-onduleur1 -C
  public - o 
  .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 .w 185:210 -c
  286:999  -l '\Input 
  Voltage\' -u '\Volts\'
  
  \Input Voltage\ problème - Pas de données reçues
 de
  l'hôte
  
  Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1
 [authpriv]
  
  UPS-onduleur1:161
  
  
  
  Nadia
  
  
   
  
 
 --
  Come build with us! The BlackBerryreg; Developer
  Conference in SF, CA
  is the only developer event you need to attend this
 year.
  Jumpstart your
  developing skills, take BlackBerry mobile applications
 to
  market and stay 
  ahead of the curve. Join us from November 9-12, 2009.
  Register 
  now!
  http://p.sf.net/sfu/devconf
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v)
 and
  OS when 
  reporting any issue. 
  ::: Messages without supporting info will risk being
 sent
  to /dev/null
  
  
  
 
 
       
 
 --
 Come build with us! The BlackBerryreg; Developer
 Conference in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay 
 ahead of the curve. Join us from November 9-12, 2009.
 Register now!
 http://p.sf.net/sfu/devconf
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and
 OS when reporting any issue. 
 ::: Messages without supporting info will risk being sent
 to /dev/null
 


  

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


Re: [Nagios-users] DHCP hosts

2009-10-02 Thread Hari Sekhon
Morris, Patrick wrote:
 G. S. Marzot wrote:
 Thank you for the pointer to this cool plugin...

 Unfortunately no solutions to date really fill the bill as the leases 
 are allocated by a router that does not publish them in a way I know 
 how to get... nor can I put anything on the DHCP hosts... they are 
 not under my control...

 Maybe there is a way to hack into my router and get the lease info... 
 or maybe I need a little daemon that will just go and probe for all 
 possible hosts... I would just like to see an accurate depiction of 
 who is on the net at any given time... maybe this is not something 
 nagios is good at (i.e., dynamic host groups).

 Nagios is good at what it does, and it really sounds like this just 
 isn't it.

 However, I don't see a reason you couldn't hack together a really 
 simple check using a tool that *is* good at this sort of thing (like, 
 say, nmap), and based on the results of that tool, feed the results 
 back to Nagios .

I would say that the best thing to do would be to turn off dhcp on that 
router and use dhcpd instead. Open and accessible and then you can just 
use the plugin I wrote... at least I think that would be least amount of 
work for you to get to working solution.

Dhcpd isn't hard and doesn't take long to set up, but I'm not sure on 
your wording, you mean the hosts aren't under your control or the router 
isn't under your control to replace the dhcp service with dhcpd?

If turning off the dhcp from the router isn't an option then you need to 
go back to the drawing board, consider how you can access the system, if 
you have a shell, if you have snmp etc and then come up with another 
solution using that, possibly custom writing your own plugin to 
integrate this in to Nagios.

-h

-- 
Hari Sekhon
http://www.linkedin.com/in/harisekhon


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


[Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Nick Jennings
Hi Everyone,

  I'm setting up Nagios on a new server group, these servers all have 1 
public IP and one private (internal network) IP. For the basic up/down 
checks I'd like to ping the public IP, check for the services which is 
provides, etc. all on the public IP.

  However for any NRPE stuff, I'd like to bind it to the internal IP 
address and run all the checks on the local network. The problem is I 
don't know how to keep from specifying 2 host definitions for each 
server (ie. an external definition and internal definition). I don't 
know if it can be done, but I'd like to have one record per server, just 
for clarity and to avoid confusion.

  Does this make sense? Can it be done in a reasonable way? Or should I 
just bite the bullet and make two host definitions per server?

Thanks for any help,
-Nick


-- 
Nick Jennings
Technical Director
Creative Motion Design
www.creativemotiondesign.com

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


Re: [Nagios-users] disable all authentication

2009-10-02 Thread Albert Shih
 Le 01/10/2009 à 07:50:17-0500, Marc Powell a écrit
 
 On Oct 1, 2009, at 4:18 AM, Albert Shih wrote:
 
  Hi all
 
  How can I disable all authentication on Nagios ? (It's not for  
  production,
  and I known what I'm doing ;-) )
 
  I've put
 
  use_authentication=0
  default_user_name=guest
 
  and put «*» on
 
  authorized_for_system_information=*
  authorized_for_configuration_information=*
  authorized_for_system_commands=*
  authorized_for_all_services=*
  authorized_for_all_hosts=*
  authorized_for_all_service_commands=*
  authorized_for_all_host_commands=*
 
 I'm 99% certain wildcards are not supported here. Have you seen in the  
 documentation that they are supported? Use the real user_name 'guest'  

Yesin the file.

 here.

but event I put «guest» it's don't work. I've already got the HAL message.

What's the easy way to put some basic authentifcation ? 

Thanks for the help

Regards.


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

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


Re: [Nagios-users] disable all authentication

2009-10-02 Thread Albert Shih
 Le 01/10/2009 à 14:38:58-0500, Marc Powell a écrit
 
 On Oct 1, 2009, at 7:50 AM, Marc Powell wrote:
 
 
  On Oct 1, 2009, at 4:18 AM, Albert Shih wrote:
 
  Hi all
 
  How can I disable all authentication on Nagios ? (It's not for
  production,
  and I known what I'm doing ;-) )
 
  I've put
 
  use_authentication=0
  default_user_name=guest
 
  and put «*» on
 
  authorized_for_system_information=*
  authorized_for_configuration_information=*
  authorized_for_system_commands=*
  authorized_for_all_services=*
  authorized_for_all_hosts=*
  authorized_for_all_service_commands=*
  authorized_for_all_host_commands=*
 
  I'm 99% certain wildcards are not supported here. Have you seen in the
  documentation that they are supported? Use the real user_name 'guest'
  here.
 
 and of course, it's documented in cgi.cfg ;) It is specific to any  
 user authenticated by the web server. Since you've disabled that  
 authentication, REMOTE_USER is null. You still need to specify 'guest'  
 for each of those.

Sorry...I've see you second message.

Yes it's working with :

use_authentication=1
default_user_name=guest
authorized_*_=guest

I've would never can imagine to put use_authentication to true...

Thanks for the help. 

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

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


Re: [Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Martin Melin
Hi,

So the problem here is really that you want $HOSTADRESS$ to have the value
of the public IP for most of your checks, but want NRPE checks to go to the
private IP.
The easiest way to set that up for you is that you let $HOSTADRESS$ be the
public IP, and add the private IP as either $HOSTNAME$ or $HOSTALIAS$. It
won't look great in the CGIs, but you have both of the IPs in your single
host definition. Then you simply create or change the check_nrpe command
definition to use the correct macro for the -H option.

If you'd rather not do the above, depending on the size and volatility of
your server park, you could just write a wrapper to check_nrpe that maps the
public IP to a private IP from a simple text file.

Regards
Martin Melin

On Fri, Oct 2, 2009 at 12:16 PM, Nick Jennings 
n...@creativemotiondesign.com wrote:

 Hi Everyone,

  I'm setting up Nagios on a new server group, these servers all have 1
 public IP and one private (internal network) IP. For the basic up/down
 checks I'd like to ping the public IP, check for the services which is
 provides, etc. all on the public IP.

  However for any NRPE stuff, I'd like to bind it to the internal IP
 address and run all the checks on the local network. The problem is I
 don't know how to keep from specifying 2 host definitions for each
 server (ie. an external definition and internal definition). I don't
 know if it can be done, but I'd like to have one record per server, just
 for clarity and to avoid confusion.

  Does this make sense? Can it be done in a reasonable way? Or should I
 just bite the bullet and make two host definitions per server?

 Thanks for any help,
 -Nick


 --
 Nick Jennings
 Technical Director
 Creative Motion Design
 www.creativemotiondesign.com


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

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

Re: [Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Marc-André Doll
Le vendredi 02 octobre 2009 à 12:16 +0200, Nick Jennings a écrit :
 Hi Everyone,
 
   I'm setting up Nagios on a new server group, these servers all have 1 
 public IP and one private (internal network) IP. For the basic up/down 
 checks I'd like to ping the public IP, check for the services which is 
 provides, etc. all on the public IP.
 
   However for any NRPE stuff, I'd like to bind it to the internal IP 
 address and run all the checks on the local network. The problem is I 
 don't know how to keep from specifying 2 host definitions for each 
 server (ie. an external definition and internal definition).

One solution may be using some custom macros. For example, set the host
address to your internal IP and define a custom macro for each host (say
_external_address) and instead of passing the $HOSTADDRESS$ macro to
your check_commands just pass the $_HOST_EXTERNAL_ADDRESS$ one.

This is just a guess. May be users more experimented than me may
confirm.

 
 Thanks for any help,
 -Nick
 
 


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

[Nagios-users] Failover Monitoring Acks/Comments

2009-10-02 Thread Glynne Jones
I'm about to design a failover solution and my client wants to ensure  
that the slave nagios server is up to date with state of services.  
Easy, just send it passive updates from the master.

However, they want to make sure any service acknowledgements and  
comments are also sent across to the slave. Has anyone got this  
configured?

Thanks,

Glynne




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


[Nagios-users] pnp4nagios over nrpe

2009-10-02 Thread Leonardo Carneiro
I'm using pnp4nagios in some local services and it's running just fine. 
now i'm trying to get perfdata from a service running on a remote host, 
but doing so via nrpe. the command it's a simple shell script that 
checks how many files exist in a especified folder.

When i try to see the graph, the last item show me an error:

RRD 
Database/usr/local/nagios/share/perfdata/gwserver01/MSG_para_o_banco.rrd 
not found.

I now i could be thousand of problems. what i wanna know if is possible 
to gather this kind of data via nrpe.

tks in advance and forgive me for my poor english.

-- 

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br mailto:lscarne...@veltrac.com.br
http://www.veltrac.com.br http://www.veltrac.com.br/
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/




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


Re: [Nagios-users] Failover Monitoring Acks/Comments

2009-10-02 Thread Marc Powell

On Oct 2, 2009, at 8:47 AM, Glynne Jones wrote:

 I'm about to design a failover solution and my client wants to ensure
 that the slave nagios server is up to date with state of services.
 Easy, just send it passive updates from the master.

 However, they want to make sure any service acknowledgements and
 comments are also sent across to the slave. Has anyone got this
 configured?

I do this for Service Acknowledgments. I've written a small perl  
script that runs out of cron to copy them over. It essentially starts  
from it's last known position in the log file, looks for  
ACKNOWLEDGE_SVC_PROBLEM, grabs it, ssh's over to the other host and  
dumps it into the external command file there. I expect the same could  
be done for Host Acknowledgements and comments.

--
Marc


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


Re: [Nagios-users] pnp4nagios over nrpe

2009-10-02 Thread Max
On Fri, Oct 2, 2009 at 10:49 AM, Leonardo Carneiro
lscarne...@veltrac.com.br wrote:
 I'm using pnp4nagios in some local services and it's running just fine.
 now i'm trying to get perfdata from a service running on a remote host,
 but doing so via nrpe. the command it's a simple shell script that
 checks how many files exist in a especified folder.

 When i try to see the graph, the last item show me an error:

 RRD
 Database/usr/local/nagios/share/perfdata/gwserver01/MSG_para_o_banco.rrd
 not found.

 I now i could be thousand of problems. what i wanna know if is possible
 to gather this kind of data via nrpe.

 tks in advance and forgive me for my poor english.

yes, absolutely NRPE can be used to collect performance data .. does
your shell script return performance data as part of it's output?  You
should see a pipe symbol | and then metrics in the output from the
script, e,g.

MY-CHECK - OK - Blah blah | 'metric1'=10;90;100 'metric2'=4;80;100'

- Max

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


Re: [Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Martin Melin
Of course! Custom macros are of course the best way to do this, not to use
HOSTALIAS. Forgot about that in my quick reply :)

On Fri, Oct 2, 2009 at 2:45 PM, Marc-André Doll m...@b-care.net wrote:

 Le vendredi 02 octobre 2009 à 12:16 +0200, Nick Jennings a écrit :
  Hi Everyone,
 
I'm setting up Nagios on a new server group, these servers all have 1
  public IP and one private (internal network) IP. For the basic up/down
  checks I'd like to ping the public IP, check for the services which is
  provides, etc. all on the public IP.
 
However for any NRPE stuff, I'd like to bind it to the internal IP
  address and run all the checks on the local network. The problem is I
  don't know how to keep from specifying 2 host definitions for each
  server (ie. an external definition and internal definition).

 One solution may be using some custom macros. For example, set the host
 address to your internal IP and define a custom macro for each host (say
 _external_address) and instead of passing the $HOSTADDRESS$ macro to
 your check_commands just pass the $_HOST_EXTERNAL_ADDRESS$ one.

 This is just a guess. May be users more experimented than me may
 confirm.

 
  Thanks for any help,
  -Nick
 
 



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

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

[Nagios-users] Service dependency fun

2009-10-02 Thread Randy Rodriguez
Hey all.  Here's my situation, and my dilemma.  I instituted a check of
the snmpd process on a group of hosts, all of which do snmp-based checks
of other services.  I want to institute a dependency such that the snmp
checks do not notify if the snmpd check fails.  Simple, no?  Here's my
service dependency cfg:

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

I've also tried it like this:

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

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

Clearly I'm missing something.  Any help appreciated.

Nagios 3.0.6, btw.

Thanks,
-Randy

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


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

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

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

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

Please give some examples.

Thank you..

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


Re: [Nagios-users] remote check with no nagios tools at remote node

2009-10-02 Thread Scott Lambert
On Thu, Oct 01, 2009 at 06:57:27PM -0400, G. S. Marzot wrote:
 Mathew Walker wrote:
  i think the plugin you're looking for is CHECK_BY_SSH
 
 
 aybe... except the man page for this shows downloading plugins to be run 
 on the remote host... I am looking for almost zero footprint there or 
 leveraging am ssh login that already exists... the plugin I have in mind 
 (and am pretty sure it does not exist) are things like check_load but 
 where the system info is pulled back to the local host with
 
 ssh -c 
 
 check_load_ssh might be a reasonable name for this and all it would 
 require is a key based login on the remote host ...

check_snmp

Or start writing your own

-- 
Scott LambertKC5MLE   Unix SysAdmin
lamb...@lambertfam.org


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


Re: [Nagios-users] pnp4nagios over nrpe

2009-10-02 Thread Leveau Stanislas
hi

you create a file

Fichier check_nrpe.php
#check_command  check_nrpe!check_users!-w 3 ?c 6
#0___||
#1__||
#2__||
#
CUSTOM_TEMPLATE = 1


custom_template with 1 it s for to use the second argument : check_users
so you use check_users.php

 On Fri, Oct 2, 2009 at 10:49 AM, Leonardo Carneiro
 lscarne...@veltrac.com.br wrote:
 I'm using pnp4nagios in some local services and it's running just fine.
 now i'm trying to get perfdata from a service running on a remote host,
 but doing so via nrpe. the command it's a simple shell script that
 checks how many files exist in a especified folder.

 When i try to see the graph, the last item show me an error:

 RRD
 Database/usr/local/nagios/share/perfdata/gwserver01/MSG_para_o_banco.rrd
 not found.

 I now i could be thousand of problems. what i wanna know if is possible
 to gather this kind of data via nrpe.

 tks in advance and forgive me for my poor english.

 yes, absolutely NRPE can be used to collect performance data .. does
 your shell script return performance data as part of it's output?  You
 should see a pipe symbol | and then metrics in the output from the
 script, e,g.

 MY-CHECK - OK - Blah blah | 'metric1'=10;90;100 'metric2'=4;80;100'

 - Max

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





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