Custom Montior With Data Retention

by Aug 27, 2008

just want to share this knowledge after troubleshooting.

i had installed a monitoring station on a window box and intend to use the above monitor to capture some data statistics from a bat file that is calling a ssh to a remote linux server to execute a bash script to return a value. this implementation will not require any agent

on the custom monitor with data retention

put the bat file on c:program filesuptimescripts

example

@ECHO OFF
more d:uptimemrtgcheckremedy

this file d:uptimemrtgcheckremedy will contain the interger value of the statisitics you want to collect

Run a scheduled job on data collection that does the following :

ssh nodeA /opt/scripts/checkremedy.sh > d:uptimemrtgcheckremedy