Forum Discussion

Arturo_Lopez's avatar
10 years ago

Appliance traps snmp

Hi,

Recently we have two new appliances 5230 and in the integration with the supervision system we will need to test the SNMP traps. I read the documentation and I don't found nothing about to send a test trap to test SNMP.

How i can test the SNMP for see that send correctly to the supervision system?

  • hello,

    I test again and the only that appear in the appliance console is :

    appliance:/home/maintenance # snmptrap -Ci -v 2c -c public -t 2 10.252.48.222 '' 1.3.6.1.4.1.393.3.9.1.16 1.3.6.1.4.1.393.3.9.1.16 i 1
    snmpinform: Timeout

    I put a snoop in the remote host that receive the SNMP Traps :

    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=34170 LEN=100
    appliance-> ov-lh        UDP D=162 S=39110 LEN=100
    appliance-> ov-lh        UDP D=162 S=39110 LEN=100

    I see the traffic buy i don't see the traps. It's normal that we have a Timeout?

    Regards

     

     

  • I Googled your error and it seems to indicate that the user running the snmpinform command does not have write privileges on /var/lib/net-snmp, but as this is not a NetBackup error, we have now moved firmly out of an area where I feel I can offer authoritative advice.  ;-)  Good luck!

    (For instance, http://sourceforge.net/p/net-snmp/bugs/1706/)

  • Ok, I don't know that we need to elevate to root for test SNMP. 

    We launch the command and the output:

    snmpinform: Timeout
    read_config_store open failure on /var/lib/net-snmp/snmpapp.conf
    read_config_store open failure on /var/lib/net-snmp/snmpapp.conf
    read_config_store open failure on /var/lib/net-snmp/snmpapp.conf

    What's the meaning of this output? It's a problem with the configuration or a problem with the comunication.

    The version of the Appliance is 7.6.0.4 on Appliance 5230.

    Regards.

     

  • You still have not revealed the version on your Appliance?

    From the TechNote, it looks like you need to issue a command from the Appliance such as:

    snmptrap -Ci -v 2c -c public -t 2 <IP.addr.of.server> '' 1.3.6.1.4.1.393.3.9.1.16 1.3.6.1.4.1.393.3.9.1.16 i 1

     

  • Hi, I revised the information buy I don't know how I make a test from Appliance to server that collect the traps SNMP. In this document  http://symantec.com/docs/TECH208354 appear something about a command and script but i don't understand how to configure the options.

     

  • I believe this documentation may help you:

    Testing SNMP packets are being sent out an interface on Netbackup Appliances
     http://symantec.com/docs/TECH208354

    Symantec NetBackup 52xx and 5330 Appliance SNMP Trap Reference Guide – Release 2.6.1.2
     http://symantec.com/docs/DOC8197

     
    (You didn't say what version, but 2.6.1.2 is the latest version of this guide.)