Hello All,
I'm trying to do an script, but i have some questions.
Someone can help me ?
The script will execute a 'SELECT description, availability FROM host' in cacti database, and mysql will return theses values.
e.g: DESCRIPTION: XYZ AVAILABILITY: 30%
My doubt is how to build an graph template to display these data outputed.
Thanks for any help and my apologizes for my bad english.
Al.
Making a script to graph uptime in %
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please have a look at http://forums.cacti.net/viewtopic.php?t=9272; you'll find my first php script that fetches data from mysql. You will have to adjust the select statement. A guide to create a new graph template can be found at http://www.cacti.net/downloads/docs/htm ... graph.html or at http://www.cacti.net/downloads/docs/htm ... _TEMPLATES
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest