TECHZEN Zenoss User Community ARCHIVE  

Reg custom script db monitoring

Subject: Reg custom script db monitoring
Author: vinoth kumar
Posted: 2017-09-26 23:12

Hi all,

we have upgraded to zenoss 5.2.4  4 months back. and now we are facing an issue after upgrade.

Actually we created on python script on the server for DB cluster monitoring and while we tried running in server its working fine.
But when we test via zenoss its displaying error as given below

"
Preparing Command...
Executing command /home/azureuser/script/scripts/db_cluster_monitor.py against 10.1.0.40
I0927 03:11:23.075861 36556 main.go:97] waiting for response for zminion-return-4ecb7f69-3ffe-639b-b312-b030e8bbcb04
/bin/sh: /home/azureuser/script/scripts/db_cluster_monitor.py: No such file or directory
DONE in 0 seconds"


kindly give us any suggestions on these issue




------------------------------
vinoth kumar
vinoth monitoring indices
chennai IN
------------------------------


Subject: RE: Reg custom script db monitoring
Author: Mohammed Irshad
Posted: 2017-10-07 11:12

Hi,

It looks like the file in the path mentioned does not exist or does not have enough permissions to execute. Provide full rights to the file "chmod 777 filename" and try.

Also, make sure you have defined a command datasource from which ever device you are calling this script and zencommand instance has enough memory(not oversubscribed) if using SSH.

You can also check the zencommand.log by attaching zencommand docker container from the resource pool host for any errors.

Thanks.

------------------------------
Irshad
------------------------------


< Previous
Edit Look and feel
  Next
ZENPACK FOR JUNIPER QFX(JUNOS)
>