snmp traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: snmp traps

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: snmp traps

Post 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 ~]#
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: snmp traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: snmp traps

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: snmp traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: snmp traps

Post by hanya.radwan »

ok, I submitted the issue to '[email protected]'. you can connect , is teamviewer good for that??
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp traps

Post 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.
Former Nagios employee
Locked