toolkit/func/core/pkg_snmp/11-test-snmp-2.sh

6 lines
117 B
Bash
Executable File

#!/bin/bash
r_log "snmp" "Run snmpv2 test"
snmpwalk -v 2c -c public 127.0.0.1 > /dev/null 2>&1
r_checkExitStatus $?