
=============== START NAGIOS==============
	
Howto use the nagiosplugin check_bcdisk 
=========================================
CLI:
==================
./check_bcdisk -h
        check_bcdisk 1.0
        This program comes with ABSOLUTELY NO WARRANTY;
        for details type "check_bcdisk -L".

Usage: check_bcdisk [-h] [-L] [-t timeout] [-r retries] [-V] [-C community] [-p port] -H hostname [-w warning] [-c critical] [-v verbose]

Example: check_bcdisk -H 'ip-address or [DNS,host]name' -t 3 -r 2 -C public -p 161 -w 2 -c 1 -v


   Check BlueCoat Proxy Diskstatus SNMP MIB
-H (--hostname)     Host to monitor
-C (--community)    SNMP Community (default=public)
-p (--port)         SNMP Port (default=161)
-t (--timeout)      Timeout in seconds (default=3)
-r (--retries)      Retries (default=2)
-w (--warning)      Warning Threshold (default=0)
-c (--critical)     Critical Threshold (default=0)
-v (--verbose)      Verbose Output
-h (--help)         Help
-V (--version)      Programm version
-L (--license)      Print license information


NAGIOS:
================
# define a command in your nagios command.cfg
# check_bcdisk command definition in command.cfg
define command{
        command_name    check_bcdisk
        command_line    /"yourPath to plugin"/check_bcdisk -H '$HOSTADDRESS$' -C '$ARG1$' -w '$ARG2$' -c '$ARG3$' -v
        }

# define a service in your nagios service.cfg
# check your bc_system diskstate in service.cfg
define service {
        host_name                       "YourSystem"
        service_description             BC_DISK
        check_command                   check_bcdisk!"yourCommunity"!"WarningThreshold"!"CriticalThreshold"
        use                             generic-service
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           30
        retry_check_interval            1
        contact_groups                  proxy-admins
        notification_interval           30
        notification_period             24x7
        notification_options            w,u,c,r
        }

=============== END NAGIOS==========================

=============== START PNP4NAGIOS===========================	

Howto use pnp4nagios template check_bcdisk.php
===============================================

copy the file check_bcdisk.php from archiv to directrory templates in path from pnp4nagios, thats all.

=============== START PNP4NAGIOS===========================

Have fun !
 

