Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Drop me into: /usr/lib/zabbix/externalscripts
- # Zabbix usage
- # snmpwalk["OID","{HOST.CONN}","{$SNMPARGS}"]
- #
- if [ $# -gt 1 ]; then
- /bin/snmpwalk -OQvs ${3} ${2} ${1}
- else
- echo "Error: No parameter specified."
- exit 1
- fi
Add Comment
Please, Sign In to add comment