Re: recieving SNMP traps
Posted: Tue Aug 20, 2013 2:02 pm
i am only adding this just in case it is relevant.
I did manually remove the nsti directory after stopping the daemon,
the error log changed to:
and here yah go:
the chmod command didn't work so I deleted the files myself, and restarted the services.
and then:
I did manually remove the nsti directory after stopping the daemon,
the error log changed to:
Code: Select all
[Tue Aug 20 14:57:08 2013] [error] [client 172.22.3.18] File does not exist: /usr/local/nagiosti
[Tue Aug 20 14:57:50 2013] [error] [client 127.0.0.1] File does not exist: /usr/local/nagiosti
and here yah go:
the chmod command didn't work so I deleted the files myself, and restarted the services.
and then:
Code: Select all
[root@LkennagiosT01 ~]# chmod -R root.snmptt /var/spool/snmptt/
chmod: invalid mode: `root.snmptt'
Try `chmod --help' for more information.
[root@LkennagiosT01 ~]# tail -f /var/log/snmp/snmptt.log
tail: cannot open `/var/log/snmp/snmptt.log' for reading: No such file or directory
[root@LkennagiosT01 ~]# tail -f /var/log/snmp/snmpttunknown.log
tail: cannot open `/var/log/snmp/snmpttunknown.log' for reading: No such file or directory
[root@LkennagiosT01 ~]# ll /var/log/snmptt/
total 308
-rw-r--r-- 1 root root 1406 Aug 20 14:41 snmptt-debug.log
-rw-r--r-- 1 root root 0 Aug 14 03:18 snmptt.log
-rw-r--r--. 1 root root 34649 Aug 3 22:50 snmptt.log-20130804
-rw-r--r--. 1 root root 138303 Aug 13 15:29 snmptt.log-20130814
-rw-r--r-- 1 root root 2090 Aug 20 14:41 snmpttsystem.log
-rw-r--r--. 1 root root 11244 Jul 25 14:20 snmpttsystem.log-20130728
-rw-r--r--. 1 root root 16678 Jul 31 16:52 snmpttsystem.log-20130804
-rw-r--r--. 1 root root 5444 Aug 13 16:35 snmpttsystem.log-20130814
-rw-r--r-- 1 root root 1668 Aug 16 12:38 snmpttsystem.log-20130818
-rw-r--r-- 1 root root 0 Aug 18 03:26 snmpttunknown.log
-rw-r--r--. 1 root root 2829 Aug 2 19:28 snmpttunknown.log-20130803
-rw-r--r--. 1 root root 3079 Aug 3 16:39 snmpttunknown.log-20130804
-rw-r--r--. 1 root root 52366 Aug 13 23:27 snmpttunknown.log-20130814
-rw-r--r-- 1 root root 6275 Aug 14 13:26 snmpttunknown.log-20130818
[root@LkennagiosT01 ~]#