Custom Plugin Arguments

by Jul 27, 2008


I've just installed version 5 uptime and have created a custom plugin to monitor the replication status of my mysql slave servers.

I created teh in the xml that my script requires some arguments to run.

The database username and password and the database name. Uptime pass's the host name as arg0 so I didnt include that.

On the monitoring station I have a perl script that use's DBI to connect to the slave and grab the info I need and the script is working.

I have temporarily hard coded the username, password and database into the script and it the plugin works.

Can someone please help me to catch the arguments that uptime is passing to my script.

Much Appreciated

Steve Tempest