Thanks lmiltchev! Sorry for the delayed reply!
I've tried editing /etc/sudoers with the recommendations provided.
Defaults:nagios !requiretty nagios ALL=NOPASSWD: /sbin/fscli *
But not sure what would be the default password for user 'nagios'. Ref:
https://assets.nagios.com/downloads/nag ... _Notes.pdf
Code: Select all
root@v183:/sbin# su nagios
nagios@v183:/sbin$ sudo /usr/local/nagios/libexec/check_FSCacheReadsv1.sh
[sudo] password for nagios:
If we try creating a user 'nagios' on an RHEL machine, and add
'nagios ALL=(ALL:ALL) ALL', I was able to run fscli commands without issues. I'm using Ubuntu at the moment.
So, I tried installing Nagios agent
linux-nrpe-agent on an RHEL machine
Red Hat Enterprise Linux Server release 7.2 (Maipo) and got the below error:
Code: Select all
Failed to restart xinetd.service: Unit xinetd.service failed to load: No such file or directory.
Subcomponents installation failed - exiting
Installation log file attached..
You do not have the required permissions to view the files attached to this post.