[Nagios-users-br] Notificação via Jabber

2009-06-29 Thread Luiz Gustavo
Bom dia a todos,

Estou utilizando o Nagios vers. 2.6 e preciso utilizar o serviço de mensagem 
Jabber como uma das formas de alerta.

Estou utilizando como serviço de mensageiro o script em PERL 
notify_via_jabber.pl adquirido em 
http://nagios.sourceforge.net/download/contrib/notifications/notify_via_jabber

O script funciona manualmente contudo ao colocar para que o script seja 
executado pelo Nagios o mesmo não envia os alertas via Jabber.

Durante a analise foi ativado o programa Etherreal e verificado o existe o 
envio de mensagem para o servidor contudo não recebo nada automaticamente.

Abaixo segue como está sendo enviado as mensagem via arquivo de configuração.

Command.cfg
# 'notify-by-jabber' command definition
define command {
command_namenotify-by-jabber
command_line/usr/libexec/notify_via_jabber.pl $CONTACTADDRESS1$ 
$HOSTNAME$ $HOSTSTATE$, $SERVICEDESC$ $SERVICEOUTPUT$
}

# 'host-notify-by-jabber' command definition
define command {
command_namehost-notify-by-jabber
command_line/usr/libexec//notify_via_jabber.pl $CONTACTADDRESS1$ | 
$HOSTNAME$ $HOSTSTATE$, $SERVICEDESC$ $SERVICEOUTPUT$
}

No arquivo de configuração contacts.cfg está sendo informado o login 
CONTACTADDRESS1 como login existente em meu serviço Jabber.

Grato.
Luiz Gustavo 
Esta mensagem foi enviada utilizando-se os recursos de tecnologia da informação 
das Indústrias Romi S.A. e é destinada exclusivamente para quem é dirigida, 
podendo conter informação confidencial e/ou legalmente privilegiada. 
Se você não for destinatário desta mensagem e a recebeu por engano, queira nos 
informar e eliminá-la de sua base de dados, abstendo-se de divulgar, copiar, 
distribuir ou, de qualquer forma, utilizar a informação nela contida, por ser 
prática ilegal. 
Fica desprovida de eficácia e validade a mensagem que contiver vínculos 
obrigacionais, expedida por quem não detenha poderes de representação para agir 
em nome das Indústrias Romi S.A.
As opiniões, conclusões ou declarações de intenção são do emitente da mensagem 
e não vinculam as Indústrias Romi S.A., a menos que sejam confirmadas por um 
representante autorizado. 
As mensagens enviadas para e recebidas pelas Indústrias Romi S.A. são 
monitoradas para assegurar o cumprimento da política interna de segurança de 
informação.
As Indústrias Romi S.A. não se responsabilizam por vírus e/ou ameaças 
eletrônicas.
--
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users-br] Notificação via Jabber

2009-06-29 Thread Augusto Ferronato
Se vc rodar na mão a linha:
/usr/libexec/notify_via_jabber.pl $CONTACTADDRESS1$ $HOSTNAME$
$HOSTSTATE$, $SERVICEDESC$ $SERVICEOUTPUT$


Vai??

Outra coisa, na segunda notificação, tá
/usr/libexec//notify_via_jabber.pl (duas barras)

Abs[]


2009/6/29 Luiz Gustavo lquir...@romi.com.br:
 Bom dia a todos,

 Estou utilizando o Nagios vers. 2.6 e preciso utilizar o serviço de mensagem 
 Jabber como uma das formas de alerta.

 Estou utilizando como serviço de mensageiro o script em PERL 
 notify_via_jabber.pl adquirido em 
 http://nagios.sourceforge.net/download/contrib/notifications/notify_via_jabber

 O script funciona manualmente contudo ao colocar para que o script seja 
 executado pelo Nagios o mesmo não envia os alertas via Jabber.

 Durante a analise foi ativado o programa Etherreal e verificado o existe o 
 envio de mensagem para o servidor contudo não recebo nada automaticamente.

 Abaixo segue como está sendo enviado as mensagem via arquivo de configuração.

 Command.cfg
 # 'notify-by-jabber' command definition
 define command {
        command_name    notify-by-jabber
        command_line    /usr/libexec/notify_via_jabber.pl $CONTACTADDRESS1$ 
 $HOSTNAME$ $HOSTSTATE$, $SERVICEDESC$ $SERVICEOUTPUT$
 }

 # 'host-notify-by-jabber' command definition
 define command {
        command_name    host-notify-by-jabber
        command_line    /usr/libexec//notify_via_jabber.pl $CONTACTADDRESS1$ | 
 $HOSTNAME$ $HOSTSTATE$, $SERVICEDESC$ $SERVICEOUTPUT$
 }

 No arquivo de configuração contacts.cfg está sendo informado o login 
 CONTACTADDRESS1 como login existente em meu serviço Jabber.

 Grato.
 Luiz Gustavo
 Esta mensagem foi enviada utilizando-se os recursos de tecnologia da 
 informação das Indústrias Romi S.A. e é destinada exclusivamente para quem é 
 dirigida, podendo conter informação confidencial e/ou legalmente privilegiada.
 Se você não for destinatário desta mensagem e a recebeu por engano, queira 
 nos informar e eliminá-la de sua base de dados, abstendo-se de divulgar, 
 copiar, distribuir ou, de qualquer forma, utilizar a informação nela contida, 
 por ser prática ilegal.
 Fica desprovida de eficácia e validade a mensagem que contiver vínculos 
 obrigacionais, expedida por quem não detenha poderes de representação para 
 agir em nome das Indústrias Romi S.A.
 As opiniões, conclusões ou declarações de intenção são do emitente da 
 mensagem e não vinculam as Indústrias Romi S.A., a menos que sejam 
 confirmadas por um representante autorizado.
 As mensagens enviadas para e recebidas pelas Indústrias Romi S.A. são 
 monitoradas para assegurar o cumprimento da política interna de segurança de 
 informação.
 As Indústrias Romi S.A. não se responsabilizam por vírus e/ou ameaças 
 eletrônicas.
 --
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




-- 
--
http://www.augustoferronato.net

FreeBSD: The Freedom to Perform!
http://www.spreadbsd.org/aff/40/1

--
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread M. Sébastien LELIEVRE
Greetings,

I saw that NSClient++ can do it with :
; Extremly early beta of a task-schedule checker
;CheckTaskSched.dll

How does it work?

Is there any other way to do this?

Best Regards,
-- 
M. Sébastien LELIÈVRE

Ingénieur Système  Base de Données

AZ Network
40, rue Ampère
61000 ALENÇON (ORNE)
FRANCE



--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread Rachel Steffen
Hi, 

 I saw that NSClient++ can do it with :
 ; Extremly early beta of a task-schedule checker ;CheckTaskSched.dll

 How does it work?

I don't use it because of the early beta warning but I found somthing 
interesting.
It's a collection of varios Windows checks...
http://sourceforge.net/projects/nagiosplugincol/

Try it, it works fine for me.

Regards
Steffen

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread Natxo Asenjo
hi,

at work I have written a very simple perl script that parses the
output of the windows command schtasks /query. I let it execute thru
nrpe in the windows servers (win2k3 std) that have scheduled jobs.

It is a very simple script and it works for us. It requires a perl
installation in the windows servers, but if one can install .Net, why
not perl ? :-)

-- 
Groeten,
J.Asenjo

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] FW: NDO Utils Question

2009-06-29 Thread Wheeler, JF (Jonathan)
 -Original Message-
 From: Christopher McAtackney [mailto:crist...@gmail.com]
 Sent: 25 June 2009 16:33

  Results passing into the command pipe are stored.  The relevant
  parameters are in nagios.cfg; they are external_command_buffer_slots and
  check_result_buffer_slots - by default these are set to 4096 (see
  documentation within the configuration file).
 
 Great, that's what I was hoping for. Do you have any experience of
 setting this buffer to much higher values? Not that I necessarily
 intend to, but it's always useful to know the effects of pushing the
 system to its limits.

Routinely we have external_command_buffer_slots set to 40960 and 
check_result_buffer_slots set to 61440; this is because we have had problems 
with our SQL server (it gets very busy for other databases) which delays 
response to NDOUtils updates which fills up these buffers.  You can see the 
current, high-water mark and setting for these parameters by running command 
nagiostats (the highest we have reached recently was about 25k buffer slots 
used).

Jonathan Wheeler 
e-Science Centre 
Rutherford Appleton Laboratory
-- 
Scanned by iCritical.

--
___
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] need help

2009-06-29 Thread Marc Powell

On Jun 28, 2009, at 9:23 PM, gmm wrote:

 hello,all!

   I have a strange problem.I have installed nagios with nagios-3.1.2  
 and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK!
   But i found there is a strange problem with my web monitor page.In  
 my host groups   some hosts status are UP,and some status are  
 PENDING all the time,but all of these hosts services are all ok! I  
 try to change my configuration files some way but can't find out the  
 reason.

Are you certain that hosts in a PENDING state have services associated  
with them and those are in an OK state? Post full configurations for a  
sample host and service.

--
Marc


--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread Mathew Walker

Hrm, I bet you could even do a few things with a batch script.  I haven't 
flexed those muscles in awhile, but you would be surpised what can be done.

 

Would you care to share the script?  I would love to try it out in my test 
environment.

-- 
Mat W. - http://www.techadre.com


 
 Date: Mon, 29 Jun 2009 12:12:01 +0200
 From: natxo.ase...@gmail.com
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] How to monitor Windows Scheduled Tasks?
 
 hi,
 
 at work I have written a very simple perl script that parses the
 output of the windows command schtasks /query. I let it execute thru
 nrpe in the windows servers (win2k3 std) that have scheduled jobs.
 
 It is a very simple script and it works for us. It requires a perl
 installation in the windows servers, but if one can install .Net, why
 not perl ? :-)
 
 -- 
 Groeten,
 J.Asenjo
 
 --
 ___
 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

_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290--
___
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] weirdness in the scheduling of host checks

2009-06-29 Thread Frater, Greg J
Greetings All, 

Is anyone else seeing weird things in the scheduling of checks?  I don't
have a good sense of what is wrong but, it's definitely not the way it
was under Nagios 1.0 (or the way it should be).  I've been watching the
scheduling queue on our Nagios 3 box for a week or so, here's a list of
what I've seen:

Under Nagios 3.0.6:
 - host checks staying at the top of the queue for a long time (over an
hour sometimes) even when they have a timeout set at 30 seconds

Under Nagios 3.1.6
 - host check showing up unexpectedly in the scheduling queue, this
morning when I looked at the queue the top event was about 15 minutes
behind the current time but things were moving along okay, when I last
checked there was a host check at the top of the queue with a next check
time from 4 days ago.
 - We had a host go down yesterday (Sunday) but we did not get alerted.
When I looked at it in Nagios I noticed the host check was in an OKAY
state and the 'last check' value for it was from 12 days ago
(6/17/2009)!
 - Host checks don't seem to be getting stuck in the queue like they
were under 3.0.6, at least not for as long

I'm going to submit a ticket to tracker.nagios.org but would like to
have more empirical evidence of the problem first, all I have so far are
symptoms, no good data points (logs, errors, etc.).  Is anyone else
seeing this type of behavior?

Nagios 3.1.2 (also had trouble with 3.0.6)
RHEL 5 64 bit

Regards, 

-greg
--
___
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_period help?

2009-06-29 Thread Andrew Noonan
Hi all,

I've got a service that I'm trying to monitor with different
thresholds at different times of day.  To do this, I created two
timeperiods, covering 1:00am to 7:00am, and 7:00am to 1:00am (I
think), two service templates that each use these periods, and two
services that do the same check with differing thresholds, each
inheriting the different service template.  But when I look at the
scheduling for these two services, it's almost opposite what I think
it should be.  The 'late' service is next scheduled at 00:00 and the
'normal' service is scheduled at 1:00am.  I'm running 3.0.6.  The
other templates used do not change the check_period, except for the
generic-service template.  Here are the definitions:

 Time periods #
define timeperiod {
timeperiod_name 7a-1a_every_day
alias   from 7:00am to 1:00am
tuesday 00:00-00:59,7:00-24:00
wednesday   00:00-00:59,7:00-24:00
sunday  00:00-00:59,7:00-24:00
thursday00:00-00:59,7:00-24:00
saturday00:00-00:59,7:00-24:00
monday  00:00-00:59,7:00-24:00
friday  00:00-00:59,7:00-24:00
}

define timeperiod {
timeperiod_name 1a-7a_every_day
alias   1:00am to 7:00am
tuesday 01:00-06:59
thursday01:00-06:59
sunday  01:00-06:59
saturday01:00-06:59
monday  01:00-06:59
friday  01:00-06:59
wednesday   01:00-06:59
}


### Service Templates ##
define service {
   name Time-1a_to_7a
   check_period 7a-1a_every_day
   register 0

}

define service {
   name Time-7a_to_1a
   check_period 1a-7a_every_day
   register 0

}

### Services #

define service {
host_name   US
service_description index
use
Freq-15-min-check,graphing_service_pnp,Time-7a_to_1a,generic-service
check_command   Check command here
register1
}

define service {
host_name   US
service_description lateindex
use
Freq-15-min-check,graphing_service_pnp,Time-1a_to_7a,generic-service
check_command   Check command here
register1
}

Thanks,
Andrew

--
___
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] Getting Nagios to go active

2009-06-29 Thread David Krider
I've gotten a second Nagios server setup to work as a failover for a
primary server. I think I've been thorough. The secondary server is
successfully receiving and processing both passive host and passive
service checks. Notifications and both kinds of active checks are turned
off. When I stop the Nagios process on the primary server, the secondary
fails the freshness check of the primary instance check. However,
nothing happens after this, and it seems that I have 2 problems.

1) Even though I have max_check_attempts set to 1 on the master server's
check_nagios check, it just continues to force active checks when the
freshness times out. I expect it to fail hard, and stop checking the
freshness. Maybe I'm wrong, though. Maybe the expected behavior here is
to get the active host check going, and then the freshness will stop
complaining.

2) All of my scripts seem to be lined up. The event handler fires, and I
see proper things in the nagios.cmd file.

[1246294798] ENABLE_NOTIFICATIONS
[1246294798] START_EXECUTING_SVC_CHECKS
[1246294820] START_EXECUTING_HOST_CHECKS

I know the command file is being processed because I can get the
secondary server to force checks from the cgi's. However, none of these
things commands ever work, whether I force them from the command line,
or from the cgi's. What could be keeping these from taking effect? I've
been all over this thing for a couple days now, and I think my eyes are
starting to glaze over.

The only thing I can think of would be to enable all of these things in
the master config file, but then immediately force them off when I
start up the process. Then maybe it will work to turn them back on
later? That can't be right...

Desperately,
dk



--
___
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] weirdness in the scheduling of host checks

2009-06-29 Thread Frater, Greg J
I figured out my problem, I had two instances of Nagios running.  That
would explain a lot of the scheduling weirdness, maybe all of it.  :-)


 Is anyone else seeing weird things in the scheduling of checks?  I
don't have a good sense of what is wrong but, it's definitely not the
way it was under Nagios 1.0 (or the way it should  be).  I've been
watching the scheduling queue on our Nagios 3 box for a week or so,
here's a list of what I've seen:

  Under Nagios 3.0.6: 
   - host checks staying at the top of the queue for a long time (over
an hour sometimes) even when they have a timeout set at 30 seconds

  Under Nagios 3.1.6 
   - host check showing up unexpectedly in the scheduling queue, this
morning when I looked at the queue the top event was about 15 minutes
behind the current time but things were moving along okay, when I last
checked there was a host check at the top of the queue with a next check
time from 4 days ago.

   - We had a host go down yesterday (Sunday) but we did not get
alerted.  When I looked at it in Nagios I noticed the host check was in
an OKAY state and the 'last check' value for it was from 12 days ago
(6/17/2009)!

   - Host checks don't seem to be getting stuck in the queue like they
were under 3.0.6, at least not for as long 

  I'm going to submit a ticket to tracker.nagios.org but would like to
have more empirical evidence of the problem first, all I have so far are
symptoms, no good data points (logs, errors, etc.).  Is anyone else
seeing this type of behavior?

  Nagios 3.1.2 (also had trouble with 3.0.6) 
  RHEL 5 64 bit 

 

--
___
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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Natalie Aloi

Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located 
http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm

thanks!
Natalie

Network Operations Center Manager 
Experis Data Center LLC 
8209 Valley Pike 
PO Box 535 
Middletown,VA 22645 
phone:540-869-8702 
cell:240-988-3267 
fax:540-869-8710 
e-mail:na...@experisdatacenters.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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Michael Friedrich
download the tar.gz and configure, make all, make fullinstall (read the 
quickstart guide!)


without configure options, nagios will be installed into /usr/local/nagios/

Natalie Aloi wrote:
Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I 
located  http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the 
latest rpm
 
thanks!

Natalie
 
Network Operations Center Manager  
Experis Data Center LLC

8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.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 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_dhcp issue

2009-06-29 Thread Dei Bertine
I actually tried check_command  check_dhcp Without !/check_dh! but 
still error. 

Having an ip address didnt make a difference. 
Also chmod (u+s) on the plugin but that didnt help either. 
Dont you think it had something to do with the fact that this particular server 
is a slave dhcp?
 



From: Edgar Matzinger edgar.matzin...@valid.nl
To: Dei Bertine deibert...@yahoo.com
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Friday, June 26, 2009 3:47:06 AM
Subject: RE: [Nagios-users] check_dhcp issue

LS,

Dei scribbled on 2009-06-26:

 Ok, here's my definition in services:
 
 define service{
 use   local-service
 host_nameserveip1.dev.net
 service_description   check_dhcp
 check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$
 }

the command_line should be:

check_command  check_dhcp

Without !/check_dh!

 
 Here's my command.cfg:
 define command{
 command_namecheck_dhcp
 command_line$USER1$/check_dhcp -s $HOSTADDRESS$
 }

In your examples from a few posts ago, you specify a *hostname*. In
your service description, an *IP address*. Does that make any difference?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
/  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
\/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


  --
___
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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Mark Gius
The tarball of nagios 3.1.0 that i have contains nagios.spec, which 
I've used to create RPMs for Red Hat.  Untar the archive and rpmbuild 
it, it shouldn't take very long.


-Gius

Natalie Aloi wrote:
Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I 
located  http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the 
latest rpm
 
thanks!

Natalie
 
Network Operations Center Manager  
Experis Data Center LLC

8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.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 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_dhcp issue

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 2:08 PM, Dei Bertine wrote:

 I actually tried check_command  check_dhcp Without !/ 
 check_dh! but still error.
 Having an ip address didnt make a difference.
 Also chmod (u+s) on the plugin but that didnt help either.
 Dont you think it had something to do with the fact that this  
 particular server is a slave dhcp?

Maybe?

As Andreas indicated, there is some difference between your command  
line test and how you've configured nagios to check. You didn't tell  
us exactly how you tested from the command line so we're left to  
simply speculate (not good for you).

Based on this error you reported- CRITICAL: Received 1 DHCPOFFER(s),  
0 of 1 requested servers responded, max lease time = 86400 sec., I'd  
guess that you are getting a DHCP response but it's not from the  
server at $HOSTADDRESS$, which you've required the response to come  
from (-s), whatever that is in the matching host{} definition.

Is the slave server that you're wanting to check on the same broadcast  
network as your nagios server? Is it's IP the same IP as the 'address'  
parameter in that check's host defintion?

--
Marc

--
___
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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Dei Bertine
Have you seen this one?
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html







From: Natalie Aloi na...@experisdatacenters.com
To: Nagios Users Mail-list nagios-users@lists.sourceforge.net
Sent: Monday, June 29, 2009 11:38:14 AM
Subject: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9?


Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located  
http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm
 
thanks!
Natalie
 Network Operations Center Manager  
Experis Data Center LLC 
8209 Valley Pike 
PO Box 535 
Middletown,VA 22645 
phone:540-869-8702 
cell:240-988-3267 
fax:540-869-8710 
e-mail:na...@experisdatacenters.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_dhcp issue

2009-06-29 Thread Dei Bertine
Here's the error now I'm getting in Nagios page:
CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max 
lease time = 86400 sec. 

Launching it manually using nagiosid is ok:
~/libexec$ ./check_dhcp -s serveip1.dev.net
OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec.





From: Dei Bertine deibert...@yahoo.com
To: Edgar Matzinger edgar.matzin...@valid.nl
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Monday, June 29, 2009 12:08:53 PM
Subject: Re: [Nagios-users] check_dhcp issue


I actually tried check_command  check_dhcp Without !/check_dh! but 
still error. 

Having an ip address didnt make a difference. 
Also chmod (u+s) on the plugin but that didnt help either. 
Dont you think it had something to do with the fact that this particular server 
is a slave dhcp?
 



From: Edgar Matzinger edgar.matzin...@valid.nl
To: Dei Bertine deibert...@yahoo.com
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Friday, June 26, 2009 3:47:06 AM
Subject: RE: [Nagios-users] check_dhcp issue

LS,

Dei scribbled on 2009-06-26:

 Ok, here's my definition in services:
 
 define service{
 use   local-service
 host_nameserveip1.dev.net
 service_description   check_dhcp
 check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$
 }

the command_line should be:

check_command  check_dhcp

Without !/check_dh!

 
 Here's my command.cfg:
 define command{
 command_namecheck_dhcp
 command_line$USER1$/check_dhcp -s $HOSTADDRESS$
 }

In your examples from a few posts ago, you specify a *hostname*. In
your service description, an *IP address*. Does that make any difference?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
/  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
\/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


  --
___
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] change service check timeout in Nagios

2009-06-29 Thread Michael W. Lucas
Hi,

It appears that numerous people have had this issue, but most of them
have it because they're doing something else wrong or have other
issues.  I have a check that legitimately takes longer than 10 seconds
to complete, and none of the documentation or archives appear
relevant.

I run check_vrrp against hardware on the other side of the world.
(I've suggested that I install a monitor closer to the remote
equipment, but that's just not feasible right now.)  Running
check_vrrp by hand gets me an answer in 14-17 seconds.

# /usr/bin/time -h /usr/local/libexec/nagios/check_snmp_vrrp.pl -H hostname -C 
community -s backup -t 20
8 vrid backup :OK
14.58s real 0.43s user  0.17s sys
#

When I use this plugin in Nagios, however, it errors out with:

CRITICAL - Plugin timed out after 10 seconds 

Yes, I know it times out in 10 seconds.  The plugin takes 14-17
seconds to run.  The timeout appears to be within Nagios itself, as
the script doesn't time itself out.

Surely there's a built-in way to tell Nagios that either a particular
check can take longer, or increase the 10-second timeout within Nagios
itself?  The service_check_timeout value kills runaway processes,
which this isn't.  I know increasing the timeout would impact my
performance for my other apps, but I have a separate Nagios instance
for these devices.

If I can't change the timeout I'll write an external script that runs
the program and forwards the results to Nagios as a passive check, but
that seems unnecessarily cumbersome.

Any suggestions?  Am I missing something in the documentation?

Any help appreciated,

==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org
http://www.BlackHelicopters.org/~mwlucas/
Latest book:  Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Natalie Aloi
well my preference is to use the rpm since it can detect dependancies...
as you can see I attempted to install 3.0.6 since that was the highest version 
of nagios I could find with an rpm file...it requires libgd.so.1.8
I did a search on that and found gd-1.8.4-11.i386.rpm but it won't install that 
since gd2.0 is newer :-(

I don't understand why this version of nagios is requesting a library that is 
older than what I currently have installed - should I uninstall gd2.0...or 
should I use --force option of rpm?
thanks!

[r...@nagios Download]# rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm
warning: nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 
6b8d79e6
error: Failed dependencies:
 libgd.so.1.8 is needed by nagios-3.0.6-1.rh9.rf.i386
 libttf.so.2 is needed by nagios-3.0.6-1.rh9.rf.i386
[r...@nagios Download]#

[r...@nagios Download]# rpm -ivh gd-1.8.4-11.i386.rpm
warning: gd-1.8.4-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
error: failed to stat /root/.gvfs: Transport endpoint is not connected
Preparing... ### [100%]
 package gd-2.0.35-5.fc9.i386 (which is newer than gd-1.8.4-11.i386) is already 
installed

[r...@nagios Download]# rpm -ivh freetype1-1.4-0.5.pre.fc9.i386.rpm
error: failed to stat /root/.gvfs: Transport endpoint is not connected
Preparing... ### [100%]
 1:freetype1 ### [100%]

-Original Message-
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at]
Sent: Monday, June 29, 2009 02:55 PM
To: 'Natalie Aloi'
Cc: 'Nagios Users Mail-list'
Subject: Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9?

download the tar.gz and configure, make all, make fullinstall (read the 
quickstart guide!)

without configure options, nagios will be installed into /usr/local/nagios/

Natalie Aloi wrote: Does anyone know of a location for rpm for Nagios 3.1.2 on 
fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the 
latest rpm

thanks!
Natalie

Network Operations Center Manager
Experis Data Center LLC
8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.com

--

___Nagios-users mailing 
listnagios-us...@lists.sourceforge.nethttps://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 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_dhcp issue

2009-06-29 Thread Dei Bertine
I got it working! 

I had to create a separate check command definition and specified 
$USER1$/check_dhcp IP Address

Now Nagios is happy! 

OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. 

Thanks.



From: Dei Bertine deibert...@yahoo.com
To: Edgar Matzinger edgar.matzin...@valid.nl
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Monday, June 29, 2009 12:08:53 PM
Subject: Re: [Nagios-users] check_dhcp issue


I actually tried check_command  check_dhcp Without !/check_dh! but 
still error. 

Having an ip address didnt make a difference. 
Also chmod (u+s) on the plugin but that didnt help either. 
Dont you think it had something to do with the fact that this particular server 
is a slave dhcp?
 



From: Edgar Matzinger edgar.matzin...@valid.nl
To: Dei Bertine deibert...@yahoo.com
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Friday, June 26, 2009 3:47:06 AM
Subject: RE: [Nagios-users] check_dhcp issue

LS,

Dei scribbled on 2009-06-26:

 Ok, here's my definition in services:
 
 define service{
 use   local-service
 host_nameserveip1.dev.net
 service_description   check_dhcp
 check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$
 }

the command_line should be:

check_command  check_dhcp

Without !/check_dh!

 
 Here's my command.cfg:
 define command{
 command_namecheck_dhcp
 command_line$USER1$/check_dhcp -s $HOSTADDRESS$
 }

In your examples from a few posts ago, you specify a *hostname*. In
your service description, an *IP address*. Does that make any difference?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
/  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
\/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


  --
___
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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Natalie Aloi
yea...I tried that...it didn't work :-( I guess I just need to uninstall 
libgd.so.2.0.0
I'm always reluctant to go backwards in versions

[r...@nagios lib]# ln libgd.so.2 libgd.so.1.8
[r...@nagios lib]# ls -il libgd.so.2
756492 lrwxrwxrwx 2 root root 14 2008-05-15 10:53 libgd.so.2 - libgd.so.2.0.0
[r...@nagios lib]# ls -il libgd.so.1.8
756492 lrwxrwxrwx 2 root root 14 2008-05-15 10:53 libgd.so.1.8 - libgd.so.2.0.0
[r...@nagios lib]# cd /home/naloi/Download
[r...@nagios Download]# sudo service nagios stop
Stopping nagios: .done.
[r...@nagios Download]# rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm
warning: nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 
6b8d79e6
error: Failed dependencies:
 libgd.so.1.8 is needed by nagios-3.0.6-1.rh9.rf.i386
[r...@nagios Download]# sudo service nagios start
Starting nagios: done.
[r...@nagios Download]#


-Original Message-
From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Monday, June 29, 2009 04:04 PM
To: 'Natalie Aloi'
Subject: RE: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9?

Hi - You can also try to fool RPM by making symlinks from the libgd.so.1.8 to 
the latest libgd.so.2.x.x files. Not sure it will work, but worth a shot... 
it's complaining because fc 9 must not know about libgd-2.x.x , and the nagios 
package asks for = libgd-1.8.x ... (This is one reason I gave up on keeping up 
with Fedora's release cycle(s) long ago, and have since moved nagios to CentOS, 
since it is almost perfectly in line with RHEL 5.X now!... :) Cheers, Hth, 
jamie -Original Message- From: Natalie Aloi 
[mailto:na...@experisdatacenters.com] Sent: Monday, June 29, 2009 3:53 PM To: 
Nagios Users Mail-list Subject: Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 
9? well my preference is to use the rpm since it can detect dependancies... as 
you can see I attempted to install 3.0.6 since that was the highest version of 
nagios I could find with an rpm file...it requires libgd.so.1.8 I did a search 
on that and found gd-1.8.4-11.i386.rpm but it won't install that since gd2.0 is 
newer :-( I don't understand why this version of nagios is requesting a library 
that is older than what I currently have installed - should I uninstall 
gd2.0...or should I use --force option of rpm? thanks! [r...@nagios Download]# 
rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm warning: 
nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 
error: Failed dependencies: libgd.so.1.8 is needed by 
nagios-3.0.6-1.rh9.rf.i386 libttf.so.2 is needed by nagios-3.0.6-1.rh9.rf.i386 
[r...@nagios Download]# [r...@nagios Download]# rpm -ivh gd-1.8.4-11.i386.rpm 
warning: gd-1.8.4-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e 
error: failed to stat /root/.gvfs: Transport endpoint is not connected 
Preparing... ### [100%] package 
gd-2.0.35-5.fc9.i386 (which is newer than gd-1.8.4-11.i386) is already 
installed [r...@nagios Download]# rpm -ivh freetype1-1.4-0.5.pre.fc9.i386.rpm 
error: failed to stat /root/.gvfs: Transport endpoint is not connected 
Preparing... ### [100%] 1:freetype1 
### [100%] -Original Message- 
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at] Sent: Monday, 
June 29, 2009 02:55 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: 
Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? download the tar.gz and 
configure, make all, make fullinstall (read the quickstart guide!) without 
configure options, nagios will be installed into /usr/local/nagios/ Natalie 
Aloi wrote: Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 
9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest 
rpm thanks! Natalie Network Operations Center Manager Experis Data Center LLC 
8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 
cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.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 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_dhcp issue

2009-06-29 Thread Mike Saldivar
On Mon, Jun 29, 2009 at 1:08 PM, Dei Bertine deibert...@yahoo.com wrote:

 I actually tried check_command  check_dhcp Without !/check_dh!
 but still error.
 Having an ip address didnt make a difference.
 Also chmod (u+s) on the plugin but that didnt help either.
 Dont you think it had something to do with the fact that this particular
 server is a slave dhcp?


For comparison, here's my DHCP service definition:

define service{
use generic-service
host_name   qcserver3
service_description DHCP
check_command   check_dhcp!qcserver3
}


Try changing your service definition to this and see if it works:

 define service{
use  local-service
host_nameserveip1.dev.net
service_description  check_dhcp
check_commandcheck_dhcp!serveip1.dev.net
 }

-Mike
--
___
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] can't shift that many error

2009-06-29 Thread Jeremiah Jester
While attempting to restart the nagios daemon i get the following error. Any
thoughts?

$ sudo /etc/init.d/nagios2 restart
 * Restarting nagios2 monitoring daemon
nagios2
shift: 225: can't shift that many
shift: 1: can't shift that many


Thanks,
JJ
--
___
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] change service check timeout in Nagios

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote:

 Surely there's a built-in way to tell Nagios that either a particular
 check can take longer, or increase the 10-second timeout within Nagios
 itself?  The service_check_timeout value kills runaway processes,
 which this isn't.

But that's what you need to change. Think of it as the maximum amount  
of time a plugin is allowed to run if the plugin doesn't terminate  
itself within a reasonable amount of time. Misbehaving plugins are  
just the most common reason to hit this timeout. It should be set  
higher than the longest expected running time for any of your plugins.

  I know increasing the timeout would impact my
 performance for my other apps, but I have a separate Nagios instance
 for these devices.

Not necessarily. Only if your other plugins are badly behaved and  
don't terminate themselves in a timely manner. Mine is typically set  
to 60 seconds as I have some long running checks as well.

--
Marc


--
___
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] can't shift that many error

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 3:44 PM, Jeremiah Jester wrote:

 While attempting to restart the nagios daemon i get the following  
 error. Any thoughts?

 $ sudo /etc/init.d/nagios2 restart
  * Restarting nagios2 monitoring daemon  
 nagios2 
  
 shift: 225: can't shift that many
 shift: 1: can't shift that many

shift doesn't appear to be used in the init script in the tarball. Are  
you using some OS or package version of nagios? If so, which? Have you  
modified the init script from it's default?

Is nagios running? Does a stop and then start work correctly?

--
Marc


--
___
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] can't shift that many error

2009-06-29 Thread Jeremiah Jester
Marc,

Thanks for your reply.

I am using that nagios 2 package apart of Ubuntu. It appears to still work
but the errors are worrisome.

$:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 stop
 * Stopping nagios2 monitoring daemon
nagios2
shift: 225: can't shift that many

[ OK ]
$:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 start
 * Starting nagios2 monitoring daemon
nagios2
shift: 1: can't shift that many

I have not modified the init script.


Thanks,
JJ


On Mon, Jun 29, 2009 at 2:09 PM, Marc Powell m...@ena.com wrote:


 On Jun 29, 2009, at 3:44 PM, Jeremiah Jester wrote:

  While attempting to restart the nagios daemon i get the following
  error. Any thoughts?
 
  $ sudo /etc/init.d/nagios2 restart
   * Restarting nagios2 monitoring daemon
  nagios2
 
  shift: 225: can't shift that many
  shift: 1: can't shift that many

 shift doesn't appear to be used in the init script in the tarball. Are
 you using some OS or package version of nagios? If so, which? Have you
 modified the init script from it's default?

 Is nagios running? Does a stop and then start work correctly?

 --
 Marc



 --
 ___
 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 mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How often does Nagios need restarting? (Quis custodiet ipsos custodes?)

2009-06-29 Thread Kustner, Tom
Jamie, 

Sorry for the very tardy response - it's been busy.  Two responses to
all your good comments:

1.  The problems with Nagios slacking on the job were confirmed by the
Nagios administrator.  Permanently, he is looking to move the setup to a
box with more memory (it is currently a Red Hat box).  Temporarily, he
talked about using cron to restart it every night.  Since it's been more
responsive lately, I have a feeling he has done just that.  

I did ask if he thought whether upgrading the NSClient would help, since
we are currently using NSClient++ 0.3.1 and NSClient++ 0.3.6 was just
released, but while encouraging me to try out 0.3.6, he feels memory
constraints on the current box is the cause of the problem and nothing
else.

I didn't post any configs files because I am not the Nagios
administrator and don't have access to the configs or the box itself
except for what I am allowed to see for our hosts via http.  Thanks for
letting me know 2.9 is relatively stable and that it, in all likelihood,
is not the cause of the problem.

2. Thanks for pointing out that host checks are not always performed
unless a service has been detected has failing.  I value the service
checking, but I assumed it was also pinging the host on a regular basis
and that is apparently not the case.  I come from the background of
using products such as Insight Manager and OpenManage which are
vendor-specific solutions that have their limitations but which
automatically perform pinging on a regular basis.  I'll look at the
documentation for information on getting that set for us.  It explains
my frustration as to why a server can reboot and Nagios not detect it.

Thanks again for taking time.

Tom Kustner MCSE, CNE 
Inside: 68728 
Outside: 414-906-8728 
Mobile:  414-559-0889 

-Original Message-
From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: Friday, June 19, 2009 8:23 PM
To: Kustner, Tom
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] How often does Nagios need restarting?
(Quiscustodiet ipsos custodes?)

Hi Tom, I've tried to answer your questions to the best of my own
personal knowledge -I have replaced any  of your original * symbols
with my own on all my comments/thoughts below, since my MS outlook
client apparently just sucks, so this appears more readable.

Regards,
jamie

-Original Message-
From: Kustner, Tom [mailto:tom.kust...@retirementpartner.com] 
Sent: Friday, June 19, 2009 5:35 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How often does Nagios need restarting?
(Quiscustodiet ipsos custodes?)

I am a Nagios user, not the administrator.  We are running Nagios 2.9 on
RHEL 4 or 5.  Overall, 200+ hosts with 3000 services being monitored. I
have access for monitoring a smaller number of hosts.

* ok, understood...

In another posting, I alluded to an issue where a host had gone down but
no alert was sent out.   The issue surfaced again today and as was done
the other time, Nagios was restarted to fix the problem.   I am
naturally concerned about the unreliability.  

* did you get any on-list or off-list replies at all? You have not
mentioned if you had it resolved or not, but it sound like the answer is
no to possibly both(?)

Any thoughts on this problem?Specifically:

What are best practices for making sure Nagios does not fall down on
the job?   Is there something not set right?

* Understanding your setup and the way nagios works is how you ensure it
stands up... a mis-config sounds likely, but who knows...

Are other Nagios administrators restarting Nagios on a weekly or
nightly basis to keep it on the job?

* Heck no! That's why we run it on Linux or Solaris! :)

Is this an issue specific to Nagios 2.9?  Was 2.9 a spotty version?

*Not to my knowledge - all stable releases have worked very reliably
here, especially 2.9 now that I look back...

For a given host, why would active checks be enabled, yet N/A
appears in the Next Active Check field?

* RTM - host checks are not always performed unless service checks fail,
and since I've been a manual-slacker myself, that may not even be the
true correct answer (Marc? :)

Thanks for any help.

-Tom Kustner-

* Not to sound negative/condescending or anything like that, but your
install will truly only work as well as you have maintained
it/understand it. You should really look at your current config files
and read the manual on 2.9, or upgrade to 3.x and again rtm...  Also,
you have not sent anything specific related to your problematic
config(s) for anyone on this list to even guess either way whether or
not something is mis-configured. If you are concerned about posting your
configs/setup, change stuff properly to hide what you need to on-list.
(I apologize if I have missed your earlier posting. Many here try our
best to help people here when possible, but sometimes we are all busy at
the same time, who knows!?).

Cheers,
Jamie


The information contained in this message and any accompanying 

Re: [Nagios-users] can't shift that many error

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 4:21 PM, Jeremiah Jester wrote:

 Marc,

 Thanks for your reply.

 I am using that nagios 2 package apart of Ubuntu. It appears to  
 still work but the errors are worrisome.

Since you're using a non-standard version of the init script (modified  
by Ubuntu), hopefully someone on the list with access/knowledge of  
that script can help. Alternately you can try the Ubuntu forums, or  
probably more appropriately, file a bug report with 'ubuntu-bug -p  
nagios2'.

--
Marc


--
___
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] Fwd: can't shift that many error

2009-06-29 Thread Jeremiah Jester
I keep getting these error messages when i post to the list.. any ideas why?

-- Forwarded message --
From: 
Date: 2009/6/29
Subject: [Nagios-users] can't shift that many error
To: jeremiahjes...@gmail.com


Erro ao enviar o email para nagios-users@lists.sourceforge.net
A caixa postal do destinatario esta cheia. O email foi recusado
The mailbox is full. The email was rejected.
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How often does Nagios need restarting? (Quis custodiet ipsos custodes?)

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 4:20 PM, Kustner, Tom wrote:

 2. Thanks for pointing out that host checks are not always performed
 unless a service has been detected has failing.  I value the service
 checking, but I assumed it was also pinging the host on a regular  
 basis
 and that is apparently not the case.  I come from the background of
 using products such as Insight Manager and OpenManage which are
 vendor-specific solutions that have their limitations but which
 automatically perform pinging on a regular basis.  I'll look at the
 documentation for information on getting that set for us.  It explains
 my frustration as to why a server can reboot and Nagios not detect it.


Word of warning - you *do not* want to enable regularly scheduled host  
checks under nagios-2.x. The current logic of only checking a host  
when a service is not OK is more than sufficient under normal  
circumstances. Enabling regularly scheduled checks under 2.x will only  
hurt your performance. While service checks can be done in parallel,  
host checks are done serially in that version. While a host is being  
checked, nagios stops *all other activity* until the host check  
completes; other checks, logging, notifications, everything.

To illustrate, if you have 200 hosts, sending 5 pings (~5 seconds to  
complete), it will take 200(hosts) x 5(seconds) = 1000 seconds just to  
check your host status. That's over 16 minutes that nagios is only  
checking those hosts and none of the services on those hosts, or  
sending notifications, or anything else.

Nagios-3.x implements parallel host checks, just like service checks,  
but even then regularly scheduled host checks aren't really needed or  
encouraged and are just a waste of resources that could be used for  
service checks, IMHO.

Even then, unless you're checking _very_ frequently, a modern server  
can easily reboot in the time between checks. I'd recommend using  
check_snmp as a service check to look at the snmp reported uptime and  
alert if it's less than a reasonable interval of your normal check  
interval (say 5-10 minutes typically).

--
Marc


--
___
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] Fwd: can't shift that many error

2009-06-29 Thread Marc Powell

On Jun 29, 2009, at 4:33 PM, Jeremiah Jester wrote:

 I keep getting these error messages when i post to the list.. any  
 ideas why?

Looks like some subscriber to the list has a full mailbox and it's set  
to notify senders. Welcome to the world of community listservs...

--
Marc


--
___
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] How to surpess notifications if ping fails.

2009-06-29 Thread Jeremiah Jester
Hello,

I have a working nagios2 installation under Ubuntu.  I would like to
configure nagios so that when a host cannot be ping'd by nagios all other
services related to this server/s are stopped so I don't get a slew of
notifications for that host.

I'm thinking i want servicedepency directive in my dependecies.cfg file?
Does this sound about right?


define servicedependency{
hostgroup_name   servers
service_description ping
dependent_hostgroup_nameservers
dependent_service_description   *
execution_failure_criteria  w,c
notification_failure_criteria   w,u,c
}


Thanks,
JJ
--
___
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] Creating custom service checks

2009-06-29 Thread Allan Clark
Hi Kevin;
On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc teckad...@gmail.com wrote:

 I am looking for some assistance in setting up custom service monitors.  I
 am looking to monitor the Microsoft Exchange services, along with a couple
 other services.  How do I go about setting this up in Nagios.

 I have browsed over some direction, but I seem to only be finding sections
 of setting this up.

 Can somebody please give me some direction and instruction on creating
 these custom service monitors.


Can you go into more detail?  Nagios is configured by editing the config
files, and running a nagios -v to check them; if you have examples of what
you're trying, including the couple other services, we might be able to
offer concrete suggestions.  ...even if it means you give us a rundown of a
part of your network, with IP address replaced to 192.168.x.y IPs and host
FQDNs replaced to names such as exch01.example.com.

It might help to get such an initial example setup to get you going.

Allan
-- 
all...@chickenandporn.com  金鱼 http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)
--
___
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] Creating custom service checks

2009-06-29 Thread Kevin Mitnikc
I am looking to monitor the Microsoft Exchange Server services such as:

Microsoft Exchange Management
C:\Program Files\Exchsrvr\bin\exmgmt.exe

These services will be monitored on the exchsrv01 server.  How do I go about
creating this service to be monitored?  All the services I'm currently
monitoring have already been predefined for me.


Thanks,

Kevin M.

2009/6/29 Allan Clark all...@chickenandporn.com

 Hi Kevin;
   On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc teckad...@gmail.comwrote:

 I am looking for some assistance in setting up custom service monitors.  I
 am looking to monitor the Microsoft Exchange services, along with a couple
 other services.  How do I go about setting this up in Nagios.

 I have browsed over some direction, but I seem to only be finding sections
 of setting this up.

 Can somebody please give me some direction and instruction on creating
 these custom service monitors.


 Can you go into more detail?  Nagios is configured by editing the config
 files, and running a nagios -v to check them; if you have examples of what
 you're trying, including the couple other services, we might be able to
 offer concrete suggestions.  ...even if it means you give us a rundown of a
 part of your network, with IP address replaced to 192.168.x.y IPs and host
 FQDNs replaced to names such as exch01.example.com.

 It might help to get such an initial example setup to get you going.

 Allan
 --
 all...@chickenandporn.com  金鱼 http://linkedin.com/in/goldfish
 please, no proprietary attachments (http://tinyurl.com/cbgq)

--
___
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] RPM for Nagios 3.1.2 Fedora 9?

2009-06-29 Thread Mathew S. McCarrell
There is a newer rpm available from dag but you won't be able to pull it
until you add the repository to your system.  Feel free to browse
http://mirror.clarkson.edu/dag/ as well to find it if you don't want add the
repository.

You may find this useful as well.
http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5

Hope that helps.
Matt

--
Mathew S. McCarrell
Clarkson University '10

mccar...@gmail.com
mccar...@clarkson.edu


On Mon, Jun 29, 2009 at 2:38 PM, Natalie Aloi
na...@experisdatacenters.comwrote:

Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I
 located  http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest
 rpm

 thanks!
 Natalie

 Network Operations Center Manager
 Experis Data Center LLC
 8209 Valley Pike
 PO Box 535
 Middletown,VA 22645
 phone:540-869-8702
 cell:240-988-3267
 fax:540-869-8710
 e-mail:na...@experisdatacenters.come-mail%3ana...@experisdatacenters.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 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] need help

2009-06-29 Thread gmm
hi,list!




On Jun 28, 2009, at 9:23 PM, gmm wrote:

 hello,all!

   I have a strange problem.I have installed nagios with nagios-3.1.2  
 and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK!
   But i found there is a strange problem with my web monitor page.In  
 my host groups   some hosts status are UP,and some status are  
 PENDING all the time,but all of these hosts services are all ok! I  
 try to change my configuration files some way but can't find out the  
 reason.

Are you certain that hosts in a PENDING state have services associated  
with them and those are in an OK state? Post full configurations for a  
sample host and service.

   Yes, i can. There is a host in a PENDING state named potevio_db1 with the 
next configuration:
### potevio_db1 
##
define host{
use generic-host; 
Inherit default values from a template
host_name   potevio_db1
alias   potevio_db1
address 10.1.1.120
max_check_attempts  2
contact_groups  admins
}
define service{
use generic-service ; Name 
of service template to use
host_name   potevio_db1
service_description PING
check_command   check-host-alive
}
define service{
use generic-service ; Name 
of service template to use
host_name   potevio_db1
service_description telnet
check_command   check_telnet
}

  By the way, i have a host named potevio_app1 which configuration almost same 
like potevio_db1 is in OK state.
  Differents with potevio_app1 and potevio_db1 are host_name and address only.

  There is another strange phenomena.I have several hostgroups, each hostgroup 
have several hosts.
But there is only three hosts in these hostgroups can get the right 
state(OK),all others are PENDING.  




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

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
gmm
computer11...@sohu.com
  2009-06-30

--
___
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] Fwd: can't shift that many error

2009-06-29 Thread Morris, Patrick
On Mon, 29 Jun 2009, Jeremiah Jester wrote:

 I keep getting these error messages when i post to the list.. any ideas why?
 
 -- Forwarded message --
 From: 
 Date: 2009/6/29
 Subject: [Nagios-users] can't shift that many error
 To: jeremiahjes...@gmail.commailto:jeremiahjes...@gmail.com
 
 
 Erro ao enviar o email para 
 nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
 A caixa postal do destinatario esta cheia. O email foi recusado
 The mailbox is full. The email was rejected.

Someone on the list apparently has a full mailbox.  My guess is that
it's someone in Brazil or Portugal, if you feel like tracking him down.


--
___
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] need help

2009-06-29 Thread gmm
hi,list!
   
On Jun 28, 2009, at 9:23 PM, gmm wrote:

 hello,all!

   I have a strange problem.I have installed nagios with nagios-3.1.2  
 and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK!
   But i found there is a strange problem with my web monitor page.In  
 my host groups   some hosts status are UP,and some status are  
 PENDING all the time,but all of these hosts services are all ok! I  
 try to change my configuration files some way but can't find out the  
 reason.

Are you certain that hosts in a PENDING state have services associated  
with them and those are in an OK state? Post full configurations for a  
sample host and service.

   Yes, i can. There is a host in a PENDING state named potevio_db1 with the 
next configuration:
### potevio_db1 
##
define host{
use generic-host; 
Inherit default values from a template
host_name   potevio_db1
alias   potevio_db1
address 10.1.1.120
max_check_attempts  2
contact_groups  admins
}
define service{
use generic-service ; Name 
of service template to use
host_name   potevio_db1
service_description PING
check_command   check-host-alive
}
define service{
use generic-service ; Name 
of service template to use
host_name   potevio_db1
service_description telnet
check_command   check_telnet
}

  By the way, i have a host named potevio_app1 which configuration almost same 
like potevio_db1 is in OK state.
  Differents with potevio_app1 and potevio_db1 are host_name and address only.

  There is another strange phenomena.I have several hostgroups, each hostgroup 
have several hosts.
But there is only three hosts in these hostgroups can get the right 
state(OK),all others are PENDING.  




--
___
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] Creating custom service checks

2009-06-29 Thread Kevin Keane
What do you want to monitor about these services?

I am monitoring Exchange in two separate ways. First, I am using the 
check_services_stopped plugin from the NagiosPluginsNT collection. It 
monitors whatever services are configured with Automatic startup, so it 
normally would include the Exchange services.

The second thing I am doing is use the check_nt_win.exe plugin to get 
the values of Exchange-related performance counters (this requires 
NSClient++ to be installed and running). check_nt_win.exe is my own 
plugin, but it really is simply a Windows port of the check_nt plugin 
that comes with NSClient++.

Kevin Mitnikc wrote:
 I am looking to monitor the Microsoft Exchange Server services such as: 
  
 Microsoft Exchange Management
 C:\Program Files\Exchsrvr\bin\exmgmt.exe
  
 These services will be monitored on the exchsrv01 server.  How do I go 
 about creating this service to be monitored?  All the services I'm 
 currently monitoring have already been predefined for me.
  
  
 Thanks,
  
 Kevin M.

 2009/6/29 Allan Clark all...@chickenandporn.com 
 mailto:all...@chickenandporn.com

 Hi Kevin;

 On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc teckad...@gmail.com
 mailto:teckad...@gmail.com wrote:

 I am looking for some assistance in setting up custom service
 monitors.  I am looking to monitor the Microsoft Exchange
 services, along with a couple other services.  How do I go
 about setting this up in Nagios. 
  
 I have browsed over some direction, but I seem to only be
 finding sections of setting this up.
  
 Can somebody please give me some direction and instruction on
 creating these custom service monitors.


 Can you go into more detail?  Nagios is configured by editing the
 config files, and running a nagios -v to check them; if you have
 examples of what you're trying, including the couple other
 services, we might be able to offer concrete suggestions.
  ...even if it means you give us a rundown of a part of your
 network, with IP address replaced to 192.168.x.y IPs and host
 FQDNs replaced to names such as exch01.example.com
 http://exch01.example.com/.

 It might help to get such an initial example setup to get you going.

 Allan
 -- 
 all...@chickenandporn.com mailto:all...@chickenandporn.com  金
 鱼 http://linkedin.com/in/goldfish
 please, no proprietary attachments (http://tinyurl.com/cbgq)


 

 --
   
 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null


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

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

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


--
___
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] Creating custom service checks

2009-06-29 Thread Hamid Majidy
Kevin, you can either monitor user services (POP3, SMTP, MAPI, IMAP, LDAP,
etc) by monitoring the ports or monitor for existence in memory of processes
through an SNMP agent. Windows SNMP agent, written for Windows NT 4, are
broken and do not report data accurately. A good alternative is SNMP
Informant, which at least used to have a free version. I hear Net-snmp now
has a Windows version as well which might work. Path of least resistance is
to monitor (service) ports which do not require an agent to be installed,
which is likely what you want anyway. 

 

From: Kevin Mitnikc [mailto:teckad...@gmail.com] 
Sent: Monday, June 29, 2009 4:01 PM
To: Allan Clark
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Creating custom service checks

 

I am looking to monitor the Microsoft Exchange Server services such as:  

 

Microsoft Exchange Management

C:\Program Files\Exchsrvr\bin\exmgmt.exe

 

These services will be monitored on the exchsrv01 server.  How do I go about
creating this service to be monitored?  All the services I'm currently
monitoring have already been predefined for me.

 

 

Thanks,

 

Kevin M. 

2009/6/29 Allan Clark all...@chickenandporn.com

Hi Kevin; 

 

On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc teckad...@gmail.com wrote:

I am looking for some assistance in setting up custom service monitors.  I
am looking to monitor the Microsoft Exchange services, along with a couple
other services.  How do I go about setting this up in Nagios.  

 

I have browsed over some direction, but I seem to only be finding sections
of setting this up.

 

Can somebody please give me some direction and instruction on creating these
custom service monitors.

 

Can you go into more detail?  Nagios is configured by editing the config
files, and running a nagios -v to check them; if you have examples of what
you're trying, including the couple other services, we might be able to
offer concrete suggestions.  ...even if it means you give us a rundown of a
part of your network, with IP address replaced to 192.168.x.y IPs and host
FQDNs replaced to names such as exch01.example.com
http://exch01.example.com/ .

 

It might help to get such an initial example setup to get you going.

 

Allan

-- 
all...@chickenandporn.com  金鱼 http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)

 

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