Hi,
The system runs both Nagios XI and NSTI. However when the upgrade took place I had some issues with it, and I had to do a "yum update" as advised on this forum and that allowed the upgrade. However, it also looks like at that point it would appear that system was upgraded to snmptt-1.4-0.9.beta2 as it was running 1.3 previously. My snmptt.ini file is showing v 1.3.
However it looks like another thread had a similar issue:
http://support.nagios.com/forum/viewtop ... =22&t=9369
If I do need to downgarde this, to v1.3 how do I go about it ?
here is the info you requested:
Versions installed
Code: Select all
# rpm -qa | grep snmp
net-snmp-libs-5.5-49.el6.i686
snmptt-1.4-0.9.beta2.el6.noarch
net-snmp-5.5-49.el6.i686
net-snmp-utils-5.5-49.el6.i686
php-snmp-5.3.3-27.el6_5.i686
net-snmp-perl-5.5-49.el6.i686
Looking for bins:
Code: Select all
# ls -lva /usr/local/bin | grep -i 'snmp\|addmib'
#
Code: Select all
#ls -lva /usr/local/sbin | grep -i 'snmp\|addmib'
#
Code: Select all
# ls -lva /usr/sbin | grep -i 'snmp\|addmib'
-rwxr-xr-x 1 root root 25972 Nov 22 2013 snmpd
-rwxr-xr-x 1 root root 25992 Nov 22 2013 snmptrapd
-rwxr-xr-x 1 root root 177466 Oct 22 2012 snmptt
-rwxr-xr-x 1 root root 6493 Oct 22 2012 snmptthandler
snmptt\trapd settings and user perms:
Code: Select all
grep -i 'daemon_uid\|mode =' /etc/snmp/snmptt.ini
mode = standalone
description_mode = 0
# A second (child) process will be started as the daemon_uid user so
daemon_uid = snmptt
Code: Select all
# grep -i 'exec' /etc/snmp/snmptt.conf | tail -n 10
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An indication that the agent is in the process of being shut down. $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An indication that the agent has been restarted. $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An example notification, used to illustrate the $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The SNMP trap that is generated when an alarm $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The SNMP trap that is generated when an alarm $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "A coldStart trap signifies that the SNMP entity, $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "A warmStart trap signifies that the SNMP entity, $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An authenticationFailure trap signifies that the SNMP $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "This trap could in principle be sent when the agent start $*"
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "This trap is sent when the agent terminates $*"
#
Code: Select all
# grep -i 'nag' /etc/group
nagios:x:500:nagios,apache
nagcmd:x:501:nagios,apache
vij:x:503:nagios,root
Code: Select all
# grep -i 'snmp' /etc/group
snmptt:x:487:
Checking log and spool dirs:
Code: Select all
# ll /var/log/snmptt/
total 6136
-rw-rw-r-- 1 snmptt snmptt 0 Mar 2 03:23 snmptt.log
-rw-rw-r-- 1 snmptt snmptt 592795 Feb 9 02:19 snmptt.log-20140209
-rw-rw-r-- 1 snmptt snmptt 436067 Feb 16 02:21 snmptt.log-20140216
-rw-rw-r-- 1 snmptt snmptt 511027 Feb 22 23:18 snmptt.log-20140223
-rw-rw-r-- 1 snmptt snmptt 68499 Feb 24 17:16 snmptt.log-20140302
-rw-rw-r-- 1 snmptt snmptt 3588 Jun 2 15:36 snmpttsystem.log
-rw-rw-r-- 1 snmptt snmptt 1452 Jan 22 13:49 snmpttsystem.log-20140123
-rw-rw-r-- 1 snmptt snmptt 875 Feb 19 09:06 snmpttsystem.log-20140220
-rw-rw-r-- 1 snmptt snmptt 170 Feb 24 19:32 snmpttsystem.log-20140225
-rw-rw-r-- 1 snmptt snmptt 1368 Feb 27 14:06 snmpttsystem.log-20140302
-rw-rw-r-- 1 snmptt snmptt 0 Mar 2 03:23 snmpttunknown.log
-rw-rw-r-- 1 snmptt snmptt 2273174 Feb 9 03:34 snmpttunknown.log-20140209
-rw-rw-r-- 1 snmptt snmptt 2038921 Feb 15 21:51 snmpttunknown.log-20140216
-rw-rw-r-- 1 snmptt snmptt 292038 Feb 22 14:03 snmpttunknown.log-20140223
-rw-rw-r-- 1 snmptt snmptt 994 Feb 24 05:00 snmpttunknown.log-20140302
Code: Select all
# ll -d /var/log/snmptt/
drwxrwxr-x 2 snmptt snmptt 4096 Mar 2 03:23 /var/log/snmptt/
Code: Select all
ll -d /var/spool/snmptt
drwxr-xr-x 2 snmptt snmptt 12288 Jan 18 18:44 /var/spool/snmptt