Nagios SNMP
William Alexander Brito Mejia
WBRITO at eeppm.com
Sat Aug 23 01:19:49 CEST 2003
I´m trying something similar (see original message), everything seems to be right, but the service isn´t show for that host. My question is.
I need to define check_none in checkcommands.cfg?
config:
define service{
use generic-service ; Name of service template to use
host_name ame4001
service_description snmp_passport
is_volatile 1
active_checks_enabled 0
passive_checks_enabled 1
max_check_attempts 1
check_period 24x7
contact_groups passport_service
check_freshness 0
notification_interval 120
notification_period 24x7
normal_check_interval 5
retry_check_interval 1
notification_options w,u,c,r
check_command check_none
register 0
}
(send_nsca, nsca daemon and trap config files seems to be O.K)
Thanks
WILLIAM ALEXANDER BRITO M.
Ingeniero Área Operación Nuevos Servicios Telec.
Subgerencia Desarrollo Servicios y Soluciones Tel.
Cr. 77 No 39B-16 Medellín-Colombia
e-mail: wbrito at eeppm.com
-----Mensaje original-----
De: Tielman De Villiers [mailto:tvilliers at Lastminute.com]
Enviado el: Miércoles, 13 de Agosto de 2003 10:14 a.m.
Para: 'Priegue, Ramiro (Ramiro)'
CC: nagios-users at lists.sourceforge.net
Asunto: RE: [Nagios-users] Passive checks
Add :
======
check_freshness 0
======
from the man:
freshness.html : heading: How The Freshness Threshold Works
distributed.html : heading : Freshness Checking
regards
Tielman de Villiers
Back Office Developer
Address: 4 Buckingham Gate, London SW1E 6JP
Tel: +44(0)20.7802.4393
Fax: +44(0)20.7802.9302
email: tvilliers at lastminute.com
do something lastminute.com
> -----Original Message-----
> From: Priegue, Ramiro (Ramiro) [mailto:priegue at lucent.com]
> Sent: 13 August 2003 15:11
> To: 'Tielman De Villiers'
> Subject: RE: [Nagios-users] Passive checks
>
>
> First thanks for you feedback.
> The [nagios_home]/etc/services for this service is the following...
>
> define service{
> name trap-service
> service_description Trap
> is_volatile 1
> active_checks_enabled 0
> passive_checks_enabled 1
> max_check_attempts 1
> check_period 24x7
> contact_groups linux-admins
> notification_interval 120
> notification_period 24x7
> normal_check_interval 5
> retry_check_interval 1
> notification_options w,u,c,r
> check_command check_none
> register 0
> }
>
>
> Regards
> Ramiro
>
>
> -----Original Message-----
> From: Tielman De Villiers [mailto:tvilliers at lastminute.com]
> Sent: Wednesday, August 13, 2003 5:11 AM
> To: 'Priegue, Ramiro (Ramiro)'
> Cc: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Passive checks
>
>
> What's the /etc/services.cfg section for this service?
>
> Tielman de Villiers
> Back Office Developer
> Address: 4 Buckingham Gate, London SW1E 6JP
> Tel: +44(0)20.7802.4393
> Fax: +44(0)20.7802.9302
> email: tvilliers at lastminute.com
>
> do something lastminute.com
>
>
> > -----Original Message-----
> > From: Priegue, Ramiro (Ramiro) [mailto:priegue at lucent.com]
> > Sent: 12 August 2003 22:25
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Passive checks
> >
> >
> > Hello Guys,
> > I'm trying to monitor some remote asynchronous services
> > with nagios.
> > Due the type of service I'm trying to configure some
> > passive checks
> > using the send_nsca client and the nsca daemon. I installed
> > both (client and
> > daemon) without problem, and I'm able to see the reception of
> > the client
> > message in the event log.
> > I saw that a while after getting a state change OK to
> > Critical the
> > state of the service returned to OK without the reception of
> > any further
> > client message.
> > My question is, how can I make the service stay in the
> > current state
> > (let's say Critical) until a new client message arrives?
> >
> > Thanks and regards
> > Ramiro
> >
> >
> >
> >
> > --
> >
> > Qué es la realidad, señor basurero?
> > -- Ratbert
> >
> > --------------------------------------------------------------------
> > Ramiro F Priegue
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET
> sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> > _072303_01/01
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS
> > when reporting any issue.
> > ::: Messages without supporting info will risk being sent
> to /dev/null
> >
> > ______________________________________________________________
> > __________
> > This e-mail has been scanned for all viruses by Star Internet. The
> > service is powered by MessageLabs. For more information on
> a proactive
> > anti-virus service working around the clock, around the
> globe, visit:
> > http://www.star.net.uk
> > ______________________________________________________________
> > __________
> >
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener información legalmente protegida por ser privilegiada o confidencial. Si usted no es el destinatario intencional del mensaje por favor infórmenos de inmediato y elimine el mensaje y sus anexos de su computador y sistema de comunicaciones. Igualmente, le comunicamos que cualquier retención, revisión no autorizada, distribución, divulgación, reenvío, copia, impresión, reproducción, o uso indebido de este mensaje y/o sus anexos, está estrictamente prohibida y sancionada legalmente.
Agradecemos su atención.
Empresas Públicas de Medellin E.S.P.
Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener información legalmente protegida por ser privilegiada o confidencial. Si usted no es el destinatario intencional del mensaje por favor infórmenos de inmediato y elimine el mensaje y sus anexos de su computador y sistema de comunicaciones. Igualmente, le comunicamos que cualquier retención, revisión no autorizada, distribución, divulgación, reenvío, copia, impresión, reproducción, o uso indebido de este mensaje y/o sus anexos, está estrictamente prohibida y sancionada legalmente.
Agradecemos su atención.
Empresas Públicas de Medellin E.S.P.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list