Skip to content

Commit

Permalink
style README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jun 21, 2013
1 parent 463f6a0 commit 9694005
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9694005

Please sign in to comment.