nagios-plugins icon indicating copy to clipboard operation
nagios-plugins copied to clipboard

Getting "Unknown status: splunk: unrecognized service" when adding splunk services.

Open Feedy81 opened this issue 7 years ago • 0 comments

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.

Feedy81 avatar Mar 30 '17 13:03 Feedy81