mdcapra

44231_1

Jun 13th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. define command{
  2. command_name notify-service-by-sms-modem
  3. command_line curl -XGET 'http://192.168.0.23:8800/?User=test&Password=test&PhoneNumber=$CONTACTPAGER$&Text=$SERVICEOUTPUT$'
  4. }
  5.  
  6. ....
  7.  
  8. define contact{
  9. contact_name nagiosadmin
  10. alias Nagios Admin
  11. pager +11234567890
  12. host_notification_period 24x7
  13. service_notification_options w,u,c,r,f,s
  14. host_notification_options d,u,r,f,s
  15. service_notification_commands notify-service-by-sms-modem
  16. host_notification_commands notify-host-by-email ; send host notifications via email
  17. }
Advertisement
Add Comment
Please, Sign In to add comment