hi, currently the rrd files will have a device name and then a identifying number.
Is this the SNMP index of the interface on the device ? I would like to write some script to identify what interface any specific rrd file in refering to.
long term plan is to generate png's of certain interfaces (customer interface) from rrd file and generate customer specific reporting.
hope this makes sense. any advise appreicated.
thanks
Paul
Matching rrd files to their interfaces
Moderators: Developers, Moderators
No, the number that cacti automatically assigns to the rrd file is random (well not really... it's the next one in line somewhere in the mysql database... don't really understand the exact process). Just click on the interface in Data Sources to see what rrd file goes to what interface.
| 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 |
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
The number is accually the local_data_id.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ahh ok. great thanks. my next question is, will this id always stay the same ?
(e.g after a interface list refresh in cacti - say maybe i add more ports to a switch)
from looking at data sources method, i can manually build a table that matches rrd file to customer interface. then use this relation as hardcoded
into my script.
e.g router.id.rrd will always be for customer x.
appreicate the responses so far. much clearer now.
(e.g after a interface list refresh in cacti - say maybe i add more ports to a switch)
from looking at data sources method, i can manually build a table that matches rrd file to customer interface. then use this relation as hardcoded
into my script.
e.g router.id.rrd will always be for customer x.
appreicate the responses so far. much clearer now.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
FYI, search, I wrote a query for someone in the past that gave them Graph ID's and RRD files for graphs you where looking for.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 7 guests