Right to the point.
Added Nagios Host to Allowed:
Removed # in front of
After that i have reloaded the service.
I have also edited
# User privilege specification root ALL=(ALL:ALL) ALL nagios ALL=NOPASSWD: /usr/lib/nagios/plugins/
$ ./check_users -w 5 -c 10 USERS OK - 1 users currently logged in |users=1;5;10;0
Works and i get my results
su nagios -c "./check_users -c 2 -w 2"
Resolves in nothing.
From the Nagios host to the new remote system i can run:
check_nrpe -H 192.168.1.20
And i get
NPRE v2.12 as result.
I have checked so to that Nagios is owner to the plugin folder but still no go.
Any tips would be helpful.
(and yes i have googled and read a 10-20 threads but still no go)