|
|
| Author |
Message |
ajeffco
Joined: 31 Jan 2007 Posts: 10
|
Posted: Wed Feb 28, 2007 12:21 am Post subject: What determines the name of the rrd file |
|
|
Hello All,
I've searched for this on the forum, but haven't seen any references to it. I'm hoping it's not something so simple that I should have seen it from another source, say, the documentation
I'm trying to figure out what determines the name of the rrd files that are created by cacti. I'm using the brocade templates found here, and they are working well. However, using the weathermap plugin, which is also working well, when I select the TARGET for the links, finding the name of the link isn't a straightforward thing. I have to go into the graph properties for that device/port graph to get the filename.
Rather than naming it something like "$HOSTNAME-port#", it's "$HOSTNAME_swfcporttxwords_#.rrd". swfcporttxwords is one the graph item inputs for this particular graph template. If you remove/add devices, even if you add the same device/port, it's a new filename, even if the old one has been deleted.
Maybe this is by design... I was just trying to figure out a way so that it's a "normalized" rrd filename based on the host and port. To me, it would make more sense to make the RRD filename be "$HOSTNAME_$ifindex.rrd"
Hope that makes sense (tired)
TIA,
Al |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Wed Feb 28, 2007 3:19 am Post subject: Re: What determines the name of the rrd file |
|
|
| ajeffco wrote: | | I'm trying to figure out what determines the name of the rrd files that are created by cacti. I'm using the brocade templates found here, and they are working well. However, using the weathermap plugin, which is also working well, when I select the TARGET for the links, finding the name of the link isn't a straightforward thing. I have to go into the graph properties for that device/port graph to get the filename. |
I know it doesn't answer your question, but the Weathermap editor does sidestep this problem. If you tell it where your cacti installation lives, it is able to give you a pick-list of data sources, which it then uses to fill in the TARGET, INFOURL and OVERLIBGRAPH lines for a link for you. The sorting is sometimes funny (got to look into that), but since the picker is a web page you can always hit Ctrl-F to search it. The editor should work without mangling your existing hand-edited map, too. Well, aside from any comments you added.
I think the actual answer is something like hostname-firstdsname-local_data_id, but there are people who know better than me  |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 11725 Location: Muenster, Germany
|
Posted: Fri Mar 02, 2007 1:18 pm Post subject: |
|
|
Moved to Weathermap Forum
Reinhard |
|
| Back to top |
|
 |
dmann
Joined: 06 Mar 2007 Posts: 1
|
Posted: Tue Mar 06, 2007 12:25 pm Post subject: Where is the weathermap forum? |
|
|
I cant find it at network-weathermap.com - can someone point me to the right location? I have this same question.
Thanks |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Tue Mar 06, 2007 12:43 pm Post subject: Re: Where is the weathermap forum? |
|
|
| dmann wrote: | I cant find it at network-weathermap.com - can someone point me to the right location? I have this same question.
Thanks |
It's not really a weathermap question. Cacti decides what the names of the rrd files are, not weathermap.
You can find the filenames assigned from the Data Sources section of Cacti.
If you are using Weathermap, then you can use the editor to assign TARGETs, which lets you pick the data source from a list, which it pulls from Cacti's database. To get that working, you need to edit your editor-config.php to have the correct path to your cacti installation. That way, you don't ever need to know what the filename is  |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|