Page 1 of 2

SNMP-Traps

Posted: Mon Mar 27, 2017 5:38 am
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

Re: SNMP-Traps

Posted: Mon Mar 27, 2017 10:11 am
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.

SNMP-Traps

Posted: Tue Mar 28, 2017 2:11 am
by bashar.abed
Hi,

i send System Profile in Private email

Thanks

Re: SNMP-Traps

Posted: Tue Mar 28, 2017 9:19 am
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.

Re: SNMP-Traps

Posted: Wed Mar 29, 2017 4:04 am
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

Re: SNMP-Traps

Posted: Wed Mar 29, 2017 9:31 am
by avandemore
I did not receive a PM. Can you try again?

Re: SNMP-Traps

Posted: Thu Mar 30, 2017 12:32 am
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

Re: SNMP-Traps

Posted: Thu Mar 30, 2017 9:01 am
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

Re: SNMP-Traps

Posted: Mon Apr 03, 2017 9:38 am
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?

Re: SNMP-Traps

Posted: Tue Apr 04, 2017 1:18 am
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