Data input method (script/command)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
clockwork
Posts: 22
Joined: Fri Feb 23, 2007 1:04 am

Data input method (script/command)

Post by clockwork »

So I have a script that goes through and get apache timing log data. the "input string" is set as follows:

Code: Select all

/usr/bin/ssh roller@<ip> './timing-report.pl <argip>'
I have both ip and argip set as input fields. However the script is run by cacti like so:

Code: Select all

/usr/bin/ssh roller@ './timing-report.pl '
What exactly am I missing that is needed to populate those fields ? I have the input fields defined using the special type code hostname. I basically need the script to run this:

Code: Select all

/usr/bin/ssh roller@host './timing-report.pl host'
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Find help at the first link of my signature. And be aware of the fact, that apache templates where already published to the forums :wink:
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests