As it is now, the script attempts to run silently, but if the argument is passed to run as a Nagios check we would need to:
- return exit code (OK, WARNING, CRITICAL, UNKNOWN)
- return status string
This will be more involved with SELinux and the SQLite db, and with the need to setup a sudoers entry for the script, but should be doable.
As it is now, the script attempts to run silently, but if the argument is passed to run as a Nagios check we would need to:
This will be more involved with SELinux and the SQLite db, and with the need to setup a sudoers entry for the script, but should be doable.