# # Sample SMS Credit Check Service # # -- Configured to check less than a normal service ... Don't want to hammer SMS Global # Note: Server you attach to is illrelavant for script to run - Nagios box need outbound port 80 - Have not bothered to use URLLIB proxy support yet # define service{ use generic-service host_name server-that-uses-sms service_description SMS Global Credit check_command check_smsglobalcredit!WARNING!CRITICAL check_interval 30 retry_interval 15 contact_groups people-who-can-buy-more-credit } ## Sample Command ## Modify if you want to use more CLI arguments ... e.g. You have more than 1 SMS Global Account need to pass credentials # SMS Global Credit Check define command{ command_name check_smsglobalcredit command_line $USER1$/check_smsglobalcredit -w $ARG1$ -c $ARG2$ }