Skip to content

Commit

Permalink
* check_printer: added commands sample
Browse files Browse the repository at this point in the history
  • Loading branch information
riskersen committed Apr 24, 2015
1 parent 3bd41d6 commit 5fdd3ad
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Printer/printer_commands.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
define command {
# Warning: 7% ARG1: 0.07
# Critical: 3% ARG2: 0.03
command_name check_printer_kyocera_toner
command_line $USER1$/check_printer $HOSTADDRESS$ public v2c toner_kyocera_monochrome
}

define command {
# Warning: 7% ARG1: 0.07
# Critical: 3% ARG2: 0.03
command_name check_printer_toner
command_line $USER1$/check_printer $HOSTADDRESS$ public v2c toner $ARG1$
}

define command {
# Warning: 7% ARG1: 0.07
# Critical: 3% ARG2: 0.03
command_name check_printer_ricoh_toner
command_line $USER1$/check_printer $HOSTADDRESS$ public v2c toner_ricoh_monochrome $ARG1$
}

define command {
# Warning: 7% ARG1: 0.07
# Critical: 3% ARG2: 0.03
command_name check_printer_ricoh_color_toner
command_line $USER1$/check_printer $HOSTADDRESS$ public v2c toner_ricoh_color $ARG1$
}

define command {
# pagecount
command_name check_printer_counter_1
command_line $USER1$/check_printer $HOSTADDRESS$ public v2c stats_counter 1
}

0 comments on commit 5fdd3ad

Please sign in to comment.