JMX notifications->snmptrapd->snmptt->Nagios Configuation

Karan uk nkaranuk at gmail.com
Mon Dec 19 15:33:44 CET 2005


Thanx Soumya for ur reply.
        Yes what all u said was done.
The case happening here is that the configured nagios is not executing the
entries in the nagios.cmd,though the respective conf in nagios.cfg is---
check_external_commands=1
command_check_interval=1
command_file=/usr/local/nagios/var/rw/nagios.cmd
---
looking fwd for ur thoughts,
nKaranUk

On 12/16/05, Soumya Nambiar <soumya.nambiar at satconet.com> wrote:
>
>           Hello,
>
>           The is_volatile should be set to 1.
>
>           By the way did u convert the mib file u require using
> snmpttconvertmib.If so that line should be added to ur snmptt.ini file.
>
>           Soumya Nambiar
>
> -----Original Message-----
> *From:* nagios-users-admin at lists.sourceforge.net [mailto:
> nagios-users-admin at lists.sourceforge.net]*On Behalf Of *Karan uk
> *Sent:* Friday, December 16, 2005 10:26 AM
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* [Nagios-users] JMX notifications->snmptrapd->snmptt->Nagios
> Configuation
>
> Hello,
> I was looking to configure Nagios so that it can accept SNMP traps(JMX
> notification thru snmptrapd->snmptt) and send e-mail.
> As per the doc's i've got snmptrapd writing the nagios.cmd file.Butconfigured Nagios seems to not react to the PROCESS_SERVICE_CHECK_RESULT
> entries in the command file.
> The configuration files i'm using are as bellow.Do let me know if i'm
> missing something in the conf. or the way to make nagios execute
> nagios.cmd entries.
> Nagios Version 1.3
> nagios.cmd--
> 1 PROCESS_SERVICE_CHECK_RESULT :winnt_host:TRAP:1:Trap received
>
> Respective conf in nagios.cfg---
> check_external_commands=1
> command_check_interval=1
> command_file=/usr/local/nagios/var/rw/nagios.cmd
> ---
> services.cfg--
> define service{
> use generic-service
> e template to use
>
> host_name winnt_host
> service_description TRAP
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> active_checks_enabled 0
> passive_checks_enabled 1
> contact_groups nt-admins
> notification_interval 120
> notification_period 24x7
> notification_options w,u,c,r
> check_command check-host-alive
> }
> ----------
> snmptt.ini---
> dns_enable = 0
> strip_domain = 0
> net_snmp_perl_enable = 0
> translate_value_oids = 0
> translate_enterprise_oid_format = 1
> ----------
> snmptrapd.conf-------
> traphandle default /usr/sbin/snmptt
> -------------
>
> thanks in advance,
> nkaranuk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051219/3fc5eb82/attachment.html>


More information about the Users mailing list