SNMP-Traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

SNMP-Traps

Post by bashar.abed »

Hi,

We have Nagios XI, VM Version 5.4.2 ,this node SS2 as below send many critical traps ,but the nagios send critical alarms for one traps although show many critical traps ,

Sat Mar 25 12:02:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 1 0 ss2
Sat Mar 25 12:02:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 2 0 ss2
Sat Mar 25 12:02:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 5 0 ss2
Sat Mar 25 12:02:19 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 1 1 ss2
Sat Mar 25 12:02:19 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 2 1 ss2
Sat Mar 25 12:02:19 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss2 - 5 1 ss2

and this node SS1 send critical traps ,but the Nagios can not send any alarms to admin system
at Mar 25 12:03:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 1 0 ss1
Sat Mar 25 12:03:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 2 0 ss1
Sat Mar 25 12:03:17 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 5 0 ss1
Sat Mar 25 12:03:18 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 1 1 ss1
Sat Mar 25 12:03:18 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 2 1 ss1
Sat Mar 25 12:03:18 2017 INGW-NOTIFICATIONS-MIB::ingwLinkDownNotification Critical "Status Events" ss1 - 5 1 ss1

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP-Traps

Post by avandemore »

XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Previous Nagios employee
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

SNMP-Traps

Post by bashar.abed »

Hi,

i send System Profile in Private email

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP-Traps

Post by avandemore »

There appear to be a number of issues with this system. Your logs indicated your DB was experiencing some errors, but it's not clear if they ever got repaired. To ensure they have, can you run through this document:

https://assets.nagios.com/downloads/nag ... tabase.pdf

Also please run this command:

Code: Select all

# tar czvf /tmp/bashar.tar.gz /etc/snmp/ /var/log/messages /var/log/httpd/error_log /var/log/snmptt/ /usr/local/nagios/var/nagios.log
Then send me the file /tmp/bashar.tar.gz.
Previous Nagios employee
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Re: SNMP-Traps

Post by bashar.abed »

Hi,


i applied these command about DB

service mysqld stop
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
service mysqld start

and i send you the bashar.tar.gz in private email


Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP-Traps

Post by avandemore »

I did not receive a PM. Can you try again?
Previous Nagios employee
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Re: SNMP-Traps

Post by bashar.abed »

Hi,

i tried to send you in private message but the file can not attached the size is 70.4 MB how can send you ?

thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP-Traps

Post by avandemore »

That's a much bigger file than I would have expected, there must be something different about your log rotation or something.

For the files/directories requested, can you try splitting them out then PM'ing them individually?

Code: Select all

# tar cJvf /tmp/bashar1.tar.xz /etc/snmp/ 
# tar cJvf /tmp/bashar2.tar.xz  /var/log/messages /var/log/httpd/error_log /var/log/snmptt/ /usr/local/nagios/var/nagios.log
# tar cJvf /tmp/bashar3.tar.xz /var/log/httpd/error_log
# tar cJvf /tmp/bashar4.tar.xz /var/log/snmptt/
# tar cJvf /tmp/bashar5.tar.xz /usr/local/nagios/var/nagios.log
Previous Nagios employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP-Traps

Post by avandemore »

I have recieved your PM's.

In the future, please run the commands as I have requested. Your chosen method makes working with them more difficult. There is not log from /var/log/snmptt/. Can you include that as well?
Previous Nagios employee
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

Re: SNMP-Traps

Post by bashar.abed »

Hi,

i applied your command but i see there is no result ,so if you send me the specific command to solve this issue

Thanks
Locked