how to setup nagios xi to listen for cisco syslog message?
-
- Posts: 10
- Joined: Mon Jun 13, 2011 3:45 pm
how to setup nagios xi to listen for cisco syslog message?
I need help to setup nagios xi to listen for cisco syslog message. The snmp trap wizard does not do anything.
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: how to setup nagios xi to listen for cisco syslog messag
How far along in the SNMP trap wizard did you get? That would be the best way to monitor it directly with Nagios.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 10
- Joined: Mon Jun 13, 2011 3:45 pm
Re: how to setup nagios xi to listen for cisco syslog messag
I use the wizard, but I noticed the "check command" drop box has nothing selected.
-
- Posts: 10
- Joined: Mon Jun 13, 2011 3:45 pm
Re: how to setup nagios xi to listen for cisco syslog messag
the "snmp trap" has an additional template, called xiwizard_snmptrap_service.
When I look at the check command for "xiwizard_snmptrap_service", it shows "check_dummy"
When I look at the check command for "xiwizard_snmptrap_service", it shows "check_dummy"
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: how to setup nagios xi to listen for cisco syslog messag
Did you run the script and guidelines found in:
http://assets.nagios.com/downloads/nagi ... ith_xi.pdf
Is snmptt running?
service snmptt status
For the sake of troubleshooting snmptt lets enable logs, in the /etc/snmp/snmptt.ini change the following variables:
log_enable = 1
log_system_enable = 1
unknown_trap_log_enable = 1
Now make the dir snmptt in var/log
mkdir /var/log/snmptt
cd /var/log/snmptt
touch snmptt.log snmpttunknown.log
chmod 666 *
service snmptt restart
Now tail the logs, you should be getting your syslog messages in there, if you're not we'll have to try another route.
http://assets.nagios.com/downloads/nagi ... ith_xi.pdf
Is snmptt running?
service snmptt status
For the sake of troubleshooting snmptt lets enable logs, in the /etc/snmp/snmptt.ini change the following variables:
log_enable = 1
log_system_enable = 1
unknown_trap_log_enable = 1
Now make the dir snmptt in var/log
mkdir /var/log/snmptt
cd /var/log/snmptt
touch snmptt.log snmpttunknown.log
chmod 666 *
service snmptt restart
Now tail the logs, you should be getting your syslog messages in there, if you're not we'll have to try another route.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 10
- Joined: Mon Jun 13, 2011 3:45 pm
Re: how to setup nagios xi to listen for cisco syslog messag
This is what I am getting in the log:
[root@dev-nagios snmptt]# tail /var/log/snmptt/snmpttsystem.log
Mon Sep 19 13:46:19 2011 SNMPTT v1.3 started
Mon Sep 19 13:46:19 2011 Loading /etc/snmp/snmptt.conf
Mon Sep 19 13:46:19 2011 Finished loading 1203 lines from /etc/snmp/snmptt.conf
Mon Sep 19 13:46:19 2011 Could not convert user id 'snmptt' to a numeric UID
[root@dev-nagios snmptt]# tail /var/log/snmptt/snmpttsystem.log
Mon Sep 19 13:46:19 2011 SNMPTT v1.3 started
Mon Sep 19 13:46:19 2011 Loading /etc/snmp/snmptt.conf
Mon Sep 19 13:46:19 2011 Finished loading 1203 lines from /etc/snmp/snmptt.conf
Mon Sep 19 13:46:19 2011 Could not convert user id 'snmptt' to a numeric UID
-
- Posts: 10
- Joined: Mon Jun 13, 2011 3:45 pm
Re: how to setup nagios xi to listen for cisco syslog messag
From my log:
[root@dev-nagios ~]# cat /var/log/snmptt/snmptt.log
Mon Sep 19 16:23:22 2011 .1.3.6.1.4.1.2021.13.990.0.17 Normal "Status Events" localhost - This is just a demo Allen Test Msg
in nagios, localhost, SNMP Traps, "Waiting for trap..."
[root@dev-nagios ~]# cat /var/log/snmptt/snmptt.log
Mon Sep 19 16:23:22 2011 .1.3.6.1.4.1.2021.13.990.0.17 Normal "Status Events" localhost - This is just a demo Allen Test Msg
in nagios, localhost, SNMP Traps, "Waiting for trap..."
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: how to setup nagios xi to listen for cisco syslog messag
Allen, I send you and email. Please indicate which medium you want to keep this thread going on. 

Nicholas Scott
Former Nagios employee
Former Nagios employee