Page 3 of 3
Re: snmp traps
Posted: Tue Jun 10, 2014 2:35 pm
by sreinhardt
Do you have anything that automatically manages permissions on your system? The /var/spool/snmptt/ folder should be snmptt:snmptt and not nagios:nagios. Granted this is a minor detail considering the snmptt user is a part of the nagios group, the bigger issue is the files within being created as root. Has this changed at all since the previous commands?
Code: Select all
ll -d /var/spool/snmptt/
ll /var/spool/snmptt/ | tail -10
Re: snmp traps
Posted: Tue Jun 10, 2014 2:38 pm
by hanya.radwan
me changed that to nagios, will me return it to snmptt?
[root@nms ~]# ll -d /var/spool/snmptt/
drwxrwxr-x 2 nagios nagios 13475840 Jun 10 22:14 /var/spool/snmptt/
You have mail in /var/spool/mail/root
[root@nms ~]# ll /var/spool/snmptt/ | tail -10
total 0
[root@nms ~]#
Re: snmp traps
Posted: Tue Jun 10, 2014 4:16 pm
by sreinhardt
Yes please use the following command:
Code: Select all
chown -R snmptt:snmptt /var/spool/snmptt
These are the permissions that this directory should have.
Re: snmp traps
Posted: Wed Jun 11, 2014 9:09 am
by hanya.radwan
I did that, but nagios doesn't show traps and folders , although most of the integrated servers with nagios sent a lot of traps always.
[nagios@nms ~]$ ll -d /var/spool/snmptt/
drwxrwxr-x 2 snmptt snmptt 13475840 Jun 10 22:14 /var/spool/snmptt/
[nagios@nms ~]$ ll /var/spool/snmptt/ | tail -10
total 0
[nagios@nms ~]$ ll /var/spool/snmptt/
total 0
Re: snmp traps
Posted: Wed Jun 11, 2014 9:23 am
by sreinhardt
Tell ya what, could you submit a ticket to
[email protected], I will pick it up and we can schedule a remote for your two threads either today or tomorrow.
Re: snmp traps
Posted: Wed Jun 11, 2014 9:38 am
by hanya.radwan
ok, I submitted the issue to '
[email protected]'. you can connect , is teamviewer good for that??
Re: snmp traps
Posted: Wed Jun 11, 2014 9:45 am
by tmcdonald
I believe sreinhardt was going to take a look and schedule a remote when he is available. He will send you the details.