Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
ld50
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
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