Good afternoon to you all
I need some help
For pooling reasons I´ve disabled some datasources from Cacti that I want to run via Script-Cron.
I´ve build the script to get the parameters I need from Cacti´s mysql database ("poller_item" table) and it´s working fine.
The only problem is that the data I need is in Cacti´s "poller_item" table, and the lines disappear, as soon as I disable Cacti´s datasources.
Does anybody know how I can get the following parameters from Cacti´s mysql database with the datasources disabled:
hostname
rrd_name
rrd_path
arg1
Is there a way of doing this? Creating some script? Or maybe creating another mysql table, and changing Cacti´s code so that new table as a copy of the parameters I need from disabled datasources?
Any help is very apreciated.
Thkx
Disabled Data Sources
Moderators: Developers, Moderators
It's not really clear why you're hackishly trying to accomplish.
If you're running scripts outside of cacti, why do you need info from the cacti db? Regardless of the data source disabled, the data is stored (somewhere) in the db which you should be able to access....
If you're running scripts outside of cacti, why do you need info from the cacti db? Regardless of the data source disabled, the data is stored (somewhere) in the db which you should be able to access....
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests