ProLiant Servers (ML,DL,SL)
1834806 Members
2643 Online
110070 Solutions
New Discussion

Re: Multiple Values in SNMP for XenServer agent installation

 
Jonas Back_2
Super Advisor

Multiple Values in SNMP for XenServer agent installation

When installing HP Agents for XenServer you can use a .conf file. It says:

#rw authorized management stations (multiples allowed)
export CMAMGMTSTATIONRWIPORDNS="10.10.10.50"

Can someone clarify how to enable "multiples allowed"? I've tried to add several lines, example below, but the installation seems to add just the first one to snmpd.conf.

export CMAMGMTSTATIONRWIPORDNS="10.10.10.50"
export CMAMGMTSTATIONRWIPORDNS="10.10.10.60"
export CMAMGMTSTATIONRWIPORDNS="server.domain.local"
1 REPLY 1
Sean Smkyes1
New Member

Re: Multiple Values in SNMP for XenServer agent installation

Not sure if this is still an issue for you or not. But with ESX I had the same issue. At least for ESX if you enter two IPs then you need to have two strings in the other directive. So if you wanted your .50 and .60 address to both be RW for server.domain.local then it would look like this:

export CMAMGMTSTATIONRWIPORDNS="10.10.10.50 10.10.10.60"
export CMAMGMTSTATIONRWIPORDNS="server.domain.local server.domain.local"

The forums are word wrapping the second line there.

Likewise for the RO and trap sink.