VertiCloud/nagios — pull request #4 by thiru-verticloud (2012-08-08 16:16:22+00:00)
Title: Added ability to configure openid authentication with openid-provider an...

@jblatt-verticloud

Added three new attributes to allow configuring openid better:

Here is an example attributes file (please see the "openid" field of the top-level object):

{
"run_list": ["recipe[nagios::server]"],

"nagios": {
"nrpe": { "mon_host": [] },
"sysadmins": [ { "id": "nagios", "nagios": { "email": "root@vertcloud.com", "htpasswd": "x", "openid": "https://www.google.com/accounts/o8/id/" } },
{ "id": "thiru", "nagios": { "nagios": { "email": "thiru@verticloud.com", "htpasswd": "x", "openid": "https://www.google.com/accounts/o8/id/" } } } ],
"client_addresses": [ { "ipaddress": "10.3.8.11", "hostname": "host-a" } ],
"server_addresses": [],
"services": [],
"server_auth_method": "openid",
"openid": {
"profile-url": "https://www.google.com/accounts/o8/id",
"use-email-as-userid": true,
"email-pattern": "@verticloud.com$"
},
"hostgroups": [ { "name": "monitoring", "hosts": [] },
{ "name": "monitored", "hosts": [ "host-a" ] } ]
}
}

Thanks

Thiru