At our client site we ran into a problem where we had many switches which we needed to create inbound/outbound graphs for. The problem was that the graph name was not descriptive, ie how were we to know witout looking it up that switch 7 port 6 was the VPN? This way we can create customized descriptions. The descriptions are created in two places. One can be attached to the graph itself, the other can be attached to the screen item. The following table helps how which graph is displayed based on where the description is.
The attached screen also demonstrates this functionality. In the upper left is a graph which is part of a template. The description was given as part of a screen item. In the upper right is the same graph witout a screen description. Here you can see the description which is part of the graph is displayed. The lower left is a graph without a description at the graph or screen level. The lower left is the same graph with a screen description.
The reason for the two tier descriptions is because of templates. If a graph is part of a template (our case) you cannot have local information associated with the host for anything from the template.
I have attached a tarball which includes an update to the sql database along with a patch file and instructions. The patch was designed and tested on OpenSuSE 10.2 with MySQL.
Let me know your thoughts!
Code:
+------------+-------------+--------+ | Graph Desc | Screen Desc | Result | +------------+-------------+--------+ | if7 | | If 7 | +------------+-------------+--------+ | | Sw7 if7 | Sw7 if7| +------------+-------------+--------+ | if7 | Sw7 if7 | Sw7 if7| +------------+-------------+--------+
The reason for the two tier descriptions is because of templates. If a graph is part of a template (our case) you cannot have local information associated with the host for anything from the template.
I have attached a tarball which includes an update to the sql database along with a patch file and instructions. The patch was designed and tested on OpenSuSE 10.2 with MySQL.
Let me know your thoughts!
Comment