Pugins - NRPE to NCPA
Posted: Mon Nov 11, 2024 9:37 am
We have a nagios plugin NRPE check_disk on a secure directory, which relies on the nrpe account having this sudo entry:
nrpe ALL=(ALL) NOPASSWD: /usr/lib64/nagios/plugins/check_disk
How to we get the same plugin to work, using NCPA ?
the ncpa_listener process runs as the nagios user. is it just a matter of adding nagios to sudoers, like so:
nagios ALL=(ALL) NOPASSWD: /usr/local/ncpa/plugins/check_disk
Or are there any better ways?
regards
Richard
nrpe ALL=(ALL) NOPASSWD: /usr/lib64/nagios/plugins/check_disk
How to we get the same plugin to work, using NCPA ?
the ncpa_listener process runs as the nagios user. is it just a matter of adding nagios to sudoers, like so:
nagios ALL=(ALL) NOPASSWD: /usr/local/ncpa/plugins/check_disk
Or are there any better ways?
regards
Richard