I don't think this is an issue with the check-mk package. I had a look and no where does it specify the socket to use, that's actually user configured when enabling - you need to add 'broker_module' config like the below to /etc/nagios3/nagios.cfg:
| broker_module=/usr/lib/check_mk/livestatus.o /var/lib/nagios3/livestatus/socket Maybe the charm (or whatever configures livestatus) move the socket to /var/run? -- You received this bug notification because you are a member of Nagios Charm developers, which is subscribed to Nagios Charm. https://bugs.launchpad.net/bugs/1623658 Title: livestatus socket permission Status in Nagios Charm: New Status in check-mk package in Ubuntu: Confirmed Bug description: After you set juju set nagios enable_livestatus=true, /var/lib/nagios3/livestatus is created with drw-rwS--- 2 nagios www-data 2 Sep 14 20:38 and a socket file is created. However, restarting nagios gives: [1473885439] livestatus: Livestatus 1.2.2p3 by Mathias Kettner. Socket: '/var/lib/nagios3/livestatus/socket' [1473885439] livestatus: Please visit us at http://mathias-kettner.de/ [1473885439] livestatus: Hint: please try out OMD - the Open Monitoring Distribution [1473885439] livestatus: Please visit OMD at http://omdistro.org [1473885439] livestatus: Unable to bind adress /var/lib/nagios3/livestatus/socket to UNIX socket: Permission denied [1473885439] Error: Function nebmodule_init() in module '/usr/lib/check_mk/livestatus.o' returned an error. Module will be unloaded. [1473885439] Event broker module '/usr/lib/check_mk/livestatus.o' deinitialized successfully. [1473885439] Finished daemonizing... (New PID=27002) To manage notifications about this bug go to: https://bugs.launchpad.net/nagios-charm/+bug/1623658/+subscriptions -- Mailing list: https://launchpad.net/~nagios-charmers Post to : [email protected] Unsubscribe : https://launchpad.net/~nagios-charmers More help : https://help.launchpad.net/ListHelp

