Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define command{
- command_name notify-service-by-sms-modem
- command_line curl -XGET 'http://192.168.0.23:8800/?User=test&Password=test&PhoneNumber=$CONTACTPAGER$&Text=$SERVICEOUTPUT$'
- }
- ....
- define contact{
- contact_name nagiosadmin
- alias Nagios Admin
- email [email protected]
- pager +11234567890
- host_notification_period 24x7
- service_notification_options w,u,c,r,f,s
- host_notification_options d,u,r,f,s
- service_notification_commands notify-service-by-sms-modem
- host_notification_commands notify-host-by-email ; send host notifications via email
- }
Advertisement
Add Comment
Please, Sign In to add comment