We have the same problem as mentioned in Nscp-local arguments - Service Monitoring - Icinga Community
But i don’t know how to implement the solution:
“The solution is to configure the arguments variable as an array and split the parameters to single lines.”
I want to monitor on a windows server that a program like “notepad.exe” is running:
nscp_arguments | process=notepad.exe ok=“state = started” warn=“state not in (started)” crit=“state not in (started)”}} |
---|---|
nscp_query | check_process |
but the plugin response says:
CRITICAL: notepad.exe ok=“state = started” warn=“state not in (started)” crit=“state not in (started)”}}=stopped