diff --git a/README.md b/README.md index d156c0a..b5d5721 100644 --- a/README.md +++ b/README.md @@ -11,30 +11,34 @@ Usage Install server and setup http authentication user: - class {'nagios::server': - engine => 'icinga', - http_users => { - admin => { 'password' => '$apr1$x6DQznUt$hh05hGiXnBzfi4m0iKlty1' }, - peter => { 'password' => '$apr1$Pm4kjpYB$8KGIuRB49Skdf/5/nWfUN1' }, - } - } + class {'nagios::server': + engine => 'icinga', + http_users => { + admin => { 'password' => '$apr1$x6DQznUt$hh05hGiXnBzfi4m0iKlty1' }, + peter => { 'password' => '$apr1$Pm4kjpYB$8KGIuRB49Skdf/5/nWfUN1' }, + } + } Using Twilio for SMS and Voice notification: + + class {'nagios::server': + engine => 'nagios', twilio_account => 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', # your twilio account number twilio_identifier => 'abcdefghijklmnopqrstuvqxyz', # your twilio secret identifier twilio_from => '%2B1123456790', # your urlenode twilio number, e.g. +1 123 456 7890 twilio_to => '%2B491721234567', # your urlencode oncall number, e.g +49 172 123 4567 + } You can register for Twilio services on https://www.twilio.com Using internal services cloud-service-sms and cloud-service-voice, e.g.: @@nagios_service{"check_http_www.beispiel.de": - use => 'cloud-service-sms', - check_command => 'check_http', - service_description => 'HTTP', - host_name => 'www.beispiel.de', - } + use => 'cloud-service-sms', + check_command => 'check_http', + service_description => 'HTTP', + host_name => 'www.beispiel.de', + } Define some default checks: