Unsolved

This post is more than 5 years old

3 Posts

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

Active checks of the service have been disabled - only passive checks are being accepted
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
}

October 12th, 2016 10:00

Hi,

Please find below the steps to troubleshoot the problem.

  1. Check whether traps are received in snmptt.log(/var/log/snmptt/) file. If traps are not received in snmptt.log(/var/log/snmptt/) file but received in snmpttunknown.log(/var/log/snmptt/) file, then there is some issue with installation of Dell Plug-in. In this case few configuration needs to be done. Follow below steps.
    1. 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

  2. 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.

  3. 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.

  4. 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.

  5. 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.

    1. snmptrapd -On -Lf /var/log/snmptrapd.log udp:162

  6. Check if there is any error in snmptrapd.log(/var/log/) file. If there is any error message, delete snmptrapd.log file and rerun above command by providing different port number. If there is no error in “snmptrapd.log”, restart snmptt service [service snmptt restart]. Now the traps should be shown in Nagios console. Generate trap and check if traps are received in snmptt.log(/var/log/snmptt/) file and in Nagios Console.
No Events found!

Top