Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Dynamical node description?

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
joez



Joined: 11 Feb 2008
Posts: 34

PostPosted: Tue Apr 15, 2008 5:31 am    Post subject: Dynamical node description? Reply with quote

Ok here is the problem:

I would like to monitor port utilization on some switches. For that reason I chose a picture of the switch as background image and made two nodes for each port, so there will be traffic arrows to show traffic load on each port.

To make the map more usable I would like to name the ports (i.e. nodes) after the devices attached to them. A cool way would be to read ifAlias of that port and automatically assign the value to the nodes label.

I dont know how to do that, somebody can help?

Thanks



screenshot.JPG
 Description:
 Filesize:  122.3 KB
 Viewed:  1279 Time(s)

screenshot.JPG


Back to top
joez



Joined: 11 Feb 2008
Posts: 34

PostPosted: Thu Apr 17, 2008 4:59 am    Post subject: Reply with quote

Hmm nobody knows anything?

Does that mean this is not possible?

Thanks
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2059
Location: United Kingdom

PostPosted: Thu Apr 17, 2008 5:56 am    Post subject: Reply with quote

It's not possible currently. You'd need to have some other way to fetch the ifAlias info.

You can use something like
Code:

LABEL {node:this:ifAlias}

to use that, but you need to have defined it first with
Code:

SET ifAlias Gi0/1

or similar, in each node. Weathermap can't help with that at the moment.
Back to top
joez



Joined: 11 Feb 2008
Posts: 34

PostPosted: Thu Apr 17, 2008 8:30 am    Post subject: Reply with quote

alright, thank you for the hint.

Having the interface desriptions on top is a little help after all!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2059
Location: United Kingdom

PostPosted: Sun Apr 27, 2008 9:52 am    Post subject: Reply with quote

I just realised it was you I replied to in the other thread too, but for the sake of other people searching...

You will be able to get ifAlias and ifDescr for interface stats in weathermap 0.96, amongst other things.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group