- Timestamp:
- Apr 9, 2010, 6:55:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2.0/nanobsd/nanobsd/files/usr/local/libexec/nagios/check_wlsnmp
r7561 r7712 8 8 9 9 OUTPUT=`snmpget -v ${VERSION} -c ${COMMUNITY} ${HOST} ${MIB} | awk -F'\"' '{ print $2 }'` 10 EXIT=`echo ${OUTPUT} | awk '{ print $1 }'` 10 11 EXIT=`echo ${OUTPUT} | awk '{ print $2 }' | tr -d ":"` 11 12 case ${EXIT} in 12 13 OK)
Note:
See TracChangeset
for help on using the changeset viewer.