Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --communities
- -c
- Set communities separated by comma comm1[,...] (this overwrites previous settings)
- C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password -c public -t 192.168.1.80@162/public
- Changing community list to: public...
- Complete.
- Changing notification(trap) targets list to: 192.168.1.80@162/public...
- Complete.
- C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --enable
- Enabling agent...
- Complete.
- C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --test
- Sending test nofication(trap) to all configured targets...
- Complete. Check with each target to see if trap was received.
- C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --disable
- Disabling agent...
- Complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement