check_iftraffic.pl plugin
Alex
alex at freenet-ag.de
Thu Oct 11 19:09:01 CEST 2007
Alex Dehaini schrieb:
> # 'check_iftraffic' command definition
> define command{
> command_name check_iftraffic
> command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C
> $USER3$ -i $ARG1$ -b $ARG2$ -u m
> }
$USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C $ARG1$-i $ARG2$ -b \
$ARG3$ -u m
> 3. I added the following service to one of my linux servers that has a NIC
> named eth0, this is what I added
>
> define service{
> use dns1-service
> host_name DNS2
> service_description Traffic Load eth0
> check_command check_iftraffic!community!eth0!100
> }
You used 3 Arguments in check_command, use them in commanline too ;)
Best Regards
Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list