Applications Systems
SAM Linux component monitor Testing on a target node failed with 'Down' status
Troubleshoot the error message while testing "Bind 9.6 and higher" application to a Linux (CentOS) Node with failed down status
First published date
Last published date
Overview
The same Error may show up when testing NTP Clock Drift template in SAM
Product section
Cause
The error message is displayed because the default command line is wrong.Resolution
For Bind 9 Component Monitor - the default command line is as follows:
perl ${SCRIPT} /usr/local/sbin/rndc /var/named/named.stats
Remove the /local from the default command line.The correct command line is as follows:
perl ${SCRIPT} /usr/sbin/rndc /var/named/named.stats
Next, you may encounter the following issue when you test the script:
A maximum of 10 output pairs can be monitored per script monitor. You currently have 10 pairs defined and are trying to generate more, bringing the total above the allowed 10. Processing will not start until existing statistics are disabled or removed.
You must deactivate one Output Script of each component because it is over the limit (10).
- Click EDIT SCRIPT and GET SCRIPT OUTPUT.
- Test correctly without the error above.
- Re-enable the script output that you disabled and save.
For Server Clock Drift (Linux) Component Monitor - the default command line is as follows:
#in the below script ${SCRIPT} will be replaced by the script block code just below the command
perl ${SCRIPT} /sbin/ntpdate pool.ntp.org
Check the path for /sbin/ntpdate command, if the path is wrong update the Script to reflect correct path as per your findings. And if the ntpdate pkg is missing, install(contact the linux admin if needed) as per below commands based on Linux Distro in use.
CentOS yum install ntpdate Fedora dnf install ntpdate Debian apt-get install ntpdate Ubuntu apt-get install ntpdate