2 values as output from script?

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

Moderators: Developers, Moderators

Post Reply
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

At this point, the simple answer to your question is no. You can get multiple values back from a script, but only one of those can be stored in an rrd file. The remaining values will be stored in the database for display on the graph.

I realize that rrdtool is able to hold many Data Sources in one rrd file. At this point it would probably complicate things more than I would like to add this functionality to cacti, but if I find an efficent way to do it; I definately will. For now you can use cacti create graphs using rrd files that have multiple data sources. Check out the "Multiple DS in RRA file." thread for more info.

-Ian
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

You are exactly right it would be much more efficent to put three values from one script in an rrd instead of calling a script three times. I will see what I can do about changing it, while keeping cacti easy to setup.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest