Unsolved
This post is more than 5 years old
3 Posts
0
1227
October 10th, 2016 16:00
Dell OpenManage Plug- in Version 2.0 for Nagios Core - Server Traps
Hi guys,
Can someone please shed some light on how to test the Dell Server Traps
|
|
|
| PENDING | N/A | 0d 0h 12m 29s+ | 1/1 | Service is not scheduled to be checked... |
The PENDING part never changes, is it meant to?
How would I verify if it's working correctly?
/usr/local/nagios/dell/config/templates/dell_commands.cfg
# 'check-host-alive' command definition
define command{
command_name check-dell-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
/usr/local/nagios/dell/objects/192.168...cfg
define service{
use Dell Traps
host_name ndsonar
service_description Dell Server Traps
/usr/local/nagios/dell/config/templates/dell_templates.cfg
define service{
name Dell Traps
use Dell-Service
register 0
service_description Dell SNMP Trap Service
is_volatile 1
flap_detection_enabled 0
check_command check-dell-host-alive
active_checks_enabled 0
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
passive_checks_enabled 1
check_period Dell-24x7
#notification_interval 1
notification_interval 31536000
contact_groups delladmins
}


rajshekar_p
6 Posts
0
October 12th, 2016 10:00
Hi,
Please find below the steps to troubleshoot the problem.
Navigate to /dell/install, and then run the following command:
./install.sh trap
Note : is the installed location of Nagios Core and by default, the location of is /usr/local/nagios.
Restart snmptt service by running below command.
service snmptt restart
Generate traps and check if traps are received in snmptt.log(/var/log/snmptt/) file. If traps are available in snmptt.log file, then ideally the traps will be shown in Nagios console as well. If issue still persists continue with below steps.
If traps are not received in either “snmptt.log” or “snmpttunknown.log” file, then there is some issue with snmptt installation/configuration. Check snmptt configuration as mentioned below.
Verify whether all the files snmpd.conf, snmptrapd.conf, snmptt.conf and snmptt.ini files are present in /etc/snmp/ directory on the Nagios setup.
Check whether "snmptrapd.log" file is present in /var/log/ directory. If present continue with step 6, If not present run below command and then continue with step 6.
snmptrapd -On -Lf /var/log/snmptrapd.log udp:162