What do you mean? Any charms using charmhelper.contrib.charmsupport.nrpe drops files in /var/lib/nagios/export for a nagios host to collect.
The file there has nothing about path of check_nrpe but rather looks like this:
| #--------------------------------------------------- | # This file is Juju managed | #--------------------------------------------------- | define service { | use active-service | host_name host | service_description Verify canonical-livepatch is working | check_command check_nrpe!check_canonical-livepatch | servicegroups livepatch | }
See charmhelpers code:
https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/charmsupport/nrpe.py#L129 https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/charmsupport/nrpe.py#L215
What do you mean? Any charms using charmhelper. contrib. charmsupport. nrpe drops files in /var/lib/ nagios/ export for a nagios host to collect.
The file there has nothing about path of check_nrpe but rather looks like this:
| #------ ------- ------- ------- ------- ------- ------- --- ------- ------- ------- ------- ------- ------- --- check_canonical -livepatch
| # This file is Juju managed
| #------
| define service {
| use active-service
| host_name host
| service_description Verify canonical-livepatch is working
| check_command check_nrpe!
| servicegroups livepatch
| }
See charmhelpers code:
https:/ /github. com/juju/ charm-helpers/ blob/master/ charmhelpers/ contrib/ charmsupport/ nrpe.py# L129 /github. com/juju/ charm-helpers/ blob/master/ charmhelpers/ contrib/ charmsupport/ nrpe.py# L215
https:/