cancel
Showing results for 
Search instead for 
Did you mean: 

Appliance traps snmp

Arturo_Lopez
Level 5
Partner Accredited

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?

1 ACCEPTED SOLUTION

Accepted Solutions

CRZ
Level 6
Employee Accredited Certified

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

View solution in original post

9 REPLIES 9

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

 

Review this note https://support.symantec.com/en_US/article.HOWTO94055.html

CRZ
Level 6
Employee Accredited Certified

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

Arturo_Lopez
Level 5
Partner Accredited

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.

 

CRZ
Level 6
Employee Accredited Certified

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

 

Arturo_Lopez
Level 5
Partner Accredited

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.

 

CRZ
Level 6
Employee Accredited Certified

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/)

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Please post everything you're doing up to the error.

Arturo_Lopez
Level 5
Partner Accredited

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

 

 

Arturo_Lopez
Level 5
Partner Accredited

Hello,

I test again the trapsSNMP and finally works.

Thank you so much.