TOP LEVEL CATEGORIES
EXPLORE
If you’re using FreeBSD (maybe OS X) as Nagios server there are a few changes that are needed to get this working.
First change the location of bash, snmpwalk and snmpget in the file.
bash is located /usr/local/bin/bash snmpwalk /usr/local/bin/snmpwalk snmpget /usr/local/bin/snmpget
FreeBSD uses ‘jot’ instead of ‘seq’ so change all occurrences of seq to jot.
Jot has a slightly different syntax.
e.g. change line 76 for i in `seq 1 $nbDisk`; to for i in `jot – 1 $nbDisk`;
mh