I basically need to do:

$ snmpwalk -v2c -mALL -c rescore-public 128.x.y.z

 From what I gather in the man pages I should be able to do

$ snmpwalk alias:myalias

and/or

$ snmpwalk myalias

I can specify those options as the default in ~/.snmp/snmp.conf. But when I try 
to make them host-specific, nothing works. I've tried two approaches:

First, adding "alias myalias 128.x.y.z" in snmp.conf and putting everything 
else 
in hosts/128.x.y.z.conf (and also hosts/myalias.conf and alias:myalias.conf). 
With -DALL I can see that hosts/128.x.y.z.conf is actually parsed, and the 
version, for example, is accepted, but then I see securityName not specified. 
Adding -v2c to the command line fixes this. So I'm not sure why the 
host-specific settings are not being honored.

The second approach I've tried is to have no global ~/.snmp/snmp.conf file at 
all, and a hosts/myalias.conf with "transport 128.x.y.z" This has similar 
results to the alias method.

I am not subscribed to the list, so please be sure to explicitly include me on 
any replies.

Thanks so much!

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to