I am trying to run a command remotely. I have set up a SSH key and tested, the zenoss use can access the remote system w/o a password.
I have set zCommandUsername to the user name of the remote user and added a template and a command to it, below are the setting I have name: check_procs_ypserv source type: command enable: True use SSH: True component: Nagios Event Class: /Cmd/Fail event key: ypserv severity: warning cycle time: 300 command template: /opt/nagios/check_procs -c 1:1 -C ypserv What is get is an event with a summary of: Command timed out on device somehost.domain: /opt/nagios/check_procs -c 1:1 -C ypserv I have searched the forum and found several references to this problem but no solution. I don't want disable SNMP on the system because SNMP works for the most part. I keep getting a "OID not increasing" error on HPUX and have not found a way to address it so I trying a different path. I know I can get this to work using Nagios' NRPE but would rather not have to use it since Zenoss can do it out of the box. I would rather fix the "OID not increasing" problem but after two days I just don't have the time. Thank you in advance for you response. -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=33838#33838 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
