nagios-plugins
nagios-plugins copied to clipboard
Getting "Unknown status: splunk: unrecognized service" when adding splunk services.
I added the splunk services to the commands.conf and service.conf file with the goal of being able to monitor if/when the splunk services stopped. Here are the config files: command.conf: object CheckCommand "splunk"{ import "plugin-check-command"
command = [
PluginDir + "/check_service.sh"
]
arguments = {
"-s" = "splunk"
"-o" = "linux"
"-t" = "service splunk status"
}
}
service.conf: apply Service "splunk" { import "generic-service"
check_command = "splunk"
assign where host.address
}
I am able to successfully add syslog-ng and filebeat with the same configuration and they work fine. Is the splunk services even supported with this plugin? Thanks in advance for any help.