############################################################################### # LENOVO_SNMP_COMMAND.CFG - LENOVO SNMP COMMAND DEFINITIONS FOR NAGIOS CORE # # # NOTES: This config file provides you with some example command definitions # that you can reference in host, service, and contact definitions. # # You don't need to keep commands in a separate file from your other # object definitions. This has been done just to make things easier to # understand. # ############################################################################### ################################################################################ # # LENOVO SERVICE CHECK COMMANDS # # These are some example service check commands. They may or may not work on # your system, as they must be modified for your plugins. See the HTML # documentation on the plugins for examples of how to configure command definitions. # ################################################################################ define command{ command_name check_snmp_system_tmp command_line $USER1$/check_lenovo_xcc.py -H "$HOSTADDRESS$" --snmp_version 3 --snmp_username $ARG1$ --snmp_aprotocol=SHA --snmp_apassword $ARG2$ --snmp_security_level authPriv --snmp_pprotocol DES --snmp_ppassword $ARG3$ --mode $ARG4$ }