I followed this guide: http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
snmptt is running:
Code: Select all
[root@lisl-ngos-01-pv snmptt]# service snmptt status
snmptt (pid 32424) is running...
You have new mail in /var/spool/mail/root
[root@lisl-ngos-01-pv snmptt]#
[root@lisl-ngos-01-pv snmptt]# service snmptrapd status
snmptrapd (pid 2038) is running...
[root@lisl-ngos-01-pv snmptt]#
Code: Select all
[root@lisl-ngos-01-pv snmptt]# rpm -qa | grep snmp
snmptt-1.3-3.nagios.noarch
net-snmp-5.5-44.el6_4.4.x86_64
net-snmp-devel-5.5-44.el6_4.4.x86_64
php-snmp-5.3.3-22.el6.x86_64
net-snmp-libs-5.5-44.el6_4.4.x86_64
net-snmp-utils-5.5-44.el6_4.4.x86_64
net-snmp-perl-5.5-44.el6_4.4.x86_64
[root@lisl-ngos-01-pv snmptt]#
Code: Select all
[root@lisl-ngos-01-pv snmptt]# ls /var/log/snmptt
snmpttsystem.log
[root@lisl-ngos-01-pv snmptt]#
Code: Select all
[root@lisl-ngos-01-pv snmptt]# cat snmpttsystem.log
Tue Oct 29 14:21:56 2013 SNMPTT v1.3 started
Tue Oct 29 14:21:56 2013 Loading /etc/snmp/snmptt.conf
Tue Oct 29 14:21:56 2013 Finished loading 1149 lines from /etc/snmp/snmptt.conf
Tue Oct 29 14:21:56 2013 Could not convert user id 'snmptt' to a numeric UID
Tue Oct 29 16:03:36 2013 SNMPTT v1.3 shutdown
Tue Oct 29 16:03:36 2013 Total traps received=0,Total traps translated=0,Total traps ignored=0,Total unknown traps=0
Tue Oct 29 16:03:40 2013 SNMPTT v1.3 started
Tue Oct 29 16:03:40 2013 Loading /etc/snmp/snmptt.conf
Tue Oct 29 16:03:40 2013 Finished loading 1333 lines from /etc/snmp/snmptt.conf
Tue Oct 29 16:03:41 2013 Changing to UID: snmptt (497)
You have new mail in /var/spool/mail/root
[root@lisl-ngos-01-pv snmptt]#
That MIB is in the conf file:To perform a test trap, click Perform test trap, enter the trap data (string) to be sent, and click Execute Trap. This sends a policy notification, as defined in the BLUECOAT-SG-POLICY-MIB, to all configured trap and inform recipients, and it is intended as a communications test.
Code: Select all
MIB: BLUECOAT-SG-POLICY-MIB (file:./BLUECOAT-SG-POLICY-MIB.txt) converted on Tue Oct 29 14:38:44 2013 using snmpttconvertmib v1.3
#
#
#
EVENT devicePolicyTrap .1.3.6.1.4.1.3417.2.6.2.0.1 "Status Events" Normal
FORMAT A notification is generated when triggered by policy $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "A notification is generated when triggered by policy $*"
SDESC
A notification is generated when triggered by policy
Variables:
1: devicePolicyMessage
EDESC