Advertisement
kazoda

vicfg-snmp.pl

Nov 17th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.97 KB | None | 0 0
  1.    --communities
  2.     -c
  3.         Set communities separated by comma comm1[,...] (this overwrites previous settings)
  4.  
  5. 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
  6. Changing community list to: public...
  7. Complete.
  8. Changing notification(trap) targets list to: 192.168.1.80@162/public...
  9. Complete.
  10.  
  11. C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --enable
  12. Enabling agent...
  13. Complete.
  14.  
  15. C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --test
  16. Sending test nofication(trap) to all configured targets...
  17. Complete. Check with each target to see if trap was received.
  18.  
  19. C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl --server 192.168.1.190 --username root --password password --disable
  20. Disabling agent...
  21. Complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement