Page History
...
`echo -n rexec secretpassword /opt/uptime-agent/my-scripts/show_temp.sh my-arguments | /usr/local/uptime/bin
/netcat $AGENT $PORT > $TMPFILE`
If you are using agentcmd instead of netcat, replace netcat with agentcmd in the command above. For example:
`/usr/local/uptime/scripts/agentcmd -p $PORT $AGENT rexec secretpassword /opt/uptime-agent/my-scripts/show_temp. sh my-arguments > $TMPFILE`
For more information see Using see Using the agentcmd utility.
by exiting with a 2 we are forcing a CRIT service outage exit 2
...
To integrate the plug-in monitor with Uptime Infrastructure Monitor, you must produce an XML definition that Uptime Infrastructure Monitor will use to understand how to process your custom script and what options should be displayed within the Uptime Infrastructure Monitor interface. To create your XML definition browse to the Plugthe Plug-in Service Monitor XML Generation Tool and follow the steps on screen.
This page will be your primary tool to create and edit your XML definition files. If you want to further customize the XML definition of your plug-in monitor, please contact uptimecontact uptime-support@idera.com for assistance. Before you use the XML Generation Tool, have the following information about your plug-in monitor available:
...
Title: for instance if your variable was named 'temp' an appropriate title may be 'Temperature'
Description: Full description of the variable.
Unit: if the variable should have a unit associated with it for graphing
Type: Either String or Decimal based on the value for your variable.
...
The UPTIME_DIR/scripts/erdcdeleter utility is used to remove your plug-in monitor template from Uptime Infrastructure Monitor.
Example Execution:
cd UPTIME_DIR
scripts/erdcdeleter --list
...