Search found 1 match

by samw41l
Tue Jan 02, 2018 10:10 pm
Forum: Scripts and Templates
Topic: BIND 9.7 (only) host template
Replies: 65
Views: 54805

Re: BIND 9.7 (only) host template

Thanks for the template.

Just some fix for empty return value:

Code: Select all

/usr/bin/snmpget -v 2c -Ovq -c public $1 .1.3.6.1.4.1.18689.0.1.4.1.2.14.100.110.115.99.97.99.104.101.45.115.116.97.116.115.1 | sed 's/"//g' | sed 's/:[[:blank:]]/:0 /g'
At least now I got green log lines :wink: