I have resolved the issue by applying single quotes like below, in the configuration file
check_bandwidth3!'v2://$HOSTNAME/<community string>:<interface#>'
in the command definition, I simply pass one argument
<path>/libexec/check_bandwidth3 -i $ARG1$
Thanks!
Search found 2 matches
- Tue Nov 20, 2012 10:01 am
- Forum: Open Source Nagios Projects
- Topic: check_bandwidth3 plugin issue
- Replies: 2
- Views: 1305
- Mon Nov 19, 2012 7:42 pm
- Forum: Open Source Nagios Projects
- Topic: check_bandwidth3 plugin issue
- Replies: 2
- Views: 1305
check_bandwidth3 plugin issue
Hello I am trying to get check_bandwidth to work with nagios configuration. The script lays out like this check_bandwidth3 --interface v2://$HOSTNAME/<community string>:<interface#> I have no idea how to pass the "//" to nagios config. I tried using "$" before the "//" ...