get param passed to an script

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
bodhi
Posts: 7
Joined: Mon Feb 28, 2005 6:30 am

get param passed to an script

Post by bodhi »

Hi,

I make my own script that gets data from a web page from a webserver. This scripts needs a param (port) when I make the graph.

When I make a script data query or a snmp data query I can access to some input variables by write on title |query_XXXX| but if I write an script and I define some inputs variables I can't access them...

Are there any form to make the title looks like this:

|host_description| - My title - |PORT|

I would like to do it because if I have 3 or 4 webservers I suppose that can't identify each graph...

Thanks and sorry for my bad english,

bodhi
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You mean something like "|intput_myinputvariable|"? Sounds like a feature request. The best place to put it is in Mantis.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
coucou78
Posts: 3
Joined: Thu Nov 15, 2007 10:58 am

euh, is there a solution for that ?

Post by coucou78 »

i need this feature too , because we are graphing 4 url (response time url ping) and need to test 4 virtual host on apache ...so ..

|host_description| and what else ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can someone please log a feature request at http://bugs.cacti.net. Give as much detail as possible, and link this post.

Thanks,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests