Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Not sure if anyone can help me but when trying to start nagios core - systemctl start nagios - I get an error.
When running journalctl -xe I have the following:
nagios.service: Control process exited, code=exited status=8
Oct 13 11:45:55 SERVERNAME systemd[1]: Failed to start LSB: Starts and stops the Nagios monitoring server.
-- Subject: Unit nagios.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nagios.service has failed.
--
-- The result is failed.
Oct 13 11:45:55 SERVERNAME systemd[1]: nagios.service: Unit entered failed state.
Oct 13 11:45:55 SERVERNAME systemd[1]: nagios.service: Failed with result 'exit-code'.
Oct 13 11:45:55 SERVERNAME polkitd(authority=local)[1322]: Unregistered Authentication Agent for unix-process96
what does [code[ tail /usr/local/nagios/var/nagios.log [/code] display?
what does
CODE: SELECT ALL
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
display?
Thank you! you helped me fix my problem. It was an issue in the templates.cfg file, I am trying to define a service on nagios graphs for used disk space on a windows machine.
I have already done it for ping (it works):
define service {
use generic-service,nagiosgraph
host_name VIRTUALMACHINETEST
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!
but I am not entirely sure what switches I need to add after to get the graph to work..
What version of Nagios Core are you running? Did you install it from repos or did you compile it? On what OS are you running Nagios? This will help us give precise instructions for getting your disk space graph to work. Thanks!