Random Project

Issue with sessions

If you run with sessions to lessen the login/out messages in ESX and run in console the file will be owned by root and they nagios check cannot run…

Errors with “Return code of 13 is out of bounds”
– may have run as root and nagios user cant write to session file in /yourdirectory/var/nagios_plugin_cache/

chown nagios:nagios /yourdirectory/var/nagios_plugin_cache/*

To ensure it won’t happen again you could also set up default filesystem acls for that directory