Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
We have some Cisco 6500 in our network. To some ports are servers connected, we write the servername to the interface description.
If I create in Cacti a new device for this Cisco 6500 the interfaces which are up & connected and have a port description my graph template title looks like this:
|host_description| - |query_ifName| - |query_ifAlias|
All other interfaces, which are shutdown and have no port description get this title:
|host_description| - |query_ifName| - |query_ifDescr|
If we add now a server to one of the interfaces and take it up, how can I "rediscover" the Cisco 6500 so that now the former shutdown interfaces are graphed with the correct interface description?
Suggested Values from SNMP Get Interfaces (In/Out Bits)
name |host_description| - Traffic - |query_ifName| - |query_ifAlias|
name |host_description| - Traffic - |query_ifIP| - |query_ifName|
name |host_description| - Traffic - |query_ifName|
name |host_description| - Traffic - |query_ifIP|/|query_ifDescr|
name |host_description| - Traffic - |query_ifDescr|
rrd_maximum |query_ifSpeed|
As you can see I added a new one with "- |query_ifAlias|" to the top of the list. Now, if we walk through my device (HP 3400cl 48G Switch) we see this:
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='Gold'] index: 1 [from value]
+ Found item [ifAlias=''] index: 2 [from value]
+ Found item [ifAlias='Nickel'] index: 3 [from value]
+ Found item [ifAlias='Zinc 2'] index: 4 [from value]
+ Found item [ifAlias='Cobalt'] index: 5 [from value]
......
......
So it sees them, but refuses to populate the graphs.
Figured out my own problem. Under Suggested Values I was trying to edit "Data Template - Interface - Traffic" and not "Graph Template - Interface - Traffic (bits/sec)".
Now how do I get the graphs to display in proper numeric order
nsanders wrote:The graph name is written using a combination of variables polled from the switch. This is not something I have control over or can modify.
Exact. And you need to patch the sourcecode at the point where the graph name gets build. As far as I know this is nothing you can do with Cacti out of the box.
nsanders wrote:The graph name is written using a combination of variables polled from the switch. This is not something I have control over or can modify.
Um... yes it is...
Data query suggested names can be altered.
[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]
Care to elaborate how? Also, would it not make sense for Cacti to have this built in? Switches that have identical names except for port numbers come out all wrong in their order because of the lack of a preceeding 0 in single digit numbers.