I am trying to deploy the jdbc_response probe version 1.26.1 or 1.25 probe on a Windows server for postgreSQL monitoring.
But at the moment of deploying the probe it does not start, turns red and the log only throws this error:
Controller: Probe 'jdbc_response' FAILED to start (command = ../../../jre/jre8u402b06/bin/java.exe -DNIMV_CONTIP= -DNIMCPRID=1204014 -DNIM_PROBE_KEY=hEEeHWRVpf322QNBdz3puGp6P8ZcBPNg8AaIkFRVDYMDOzMnrRJYZOEG7UW2Dod -DNIMPROBEPORT=48014 -DNIM_CONTROLLER_PORT= -DNIM_SPOOLER_PORT= -cp "./*;lib/*" com.nimsoft.nimbus.probes.database.jdbc_response.JdbcResponse) error = (3) The system cannot find the path specified.
The jdbc_response probe is currently supported on the following OSes:
Windows
UNIX
Linux
Verify Java on the Windows System
Follow these steps:
On a Windows server, in this case Windows 2016, when testing the probe, the jdbc_response probe works right out of the box, turns green gets a port and a PID. Then you can configure a connection to a DB server such as MS SQL Server and it works as expected.
Please make sure the correct probe arguments are configured using IM after selecting the probe and choosing Edit - here is a copy from my probe instance that the customer can copy and paste in to the arguments field but they should make sure there are no leading or trailing spaces or special characters:
-DNIMV_CONTIP=$NIMV_CONTIP -DNIMCPRID=$NIMCPRID -DNIM_PROBE_KEY=$NIM_PROBE_KEY -DNIMPROBEPORT=$NIMPROBEPORT -DNIM_CONTROLLER_PORT=$NIM_CONTROLLER_PORT -DNIM_SPOOLER_PORT=$NIM_SPOOLER_PORT -cp "./*;lib/*" com.nimsoft.nimbus.probes.database.jdbc_response.JdbcResponse
Check the Disk...
If none of the above helps, check to see if the probe cannot start due to a disk drive full situation. Its possible that the java_jre is not being deployed correctly, even when the IM shows that it had been deployed and the environment variables were created.