Hi!
I'm having trouble with port graphs of discovered network switches. I've created auto discovery rule to find managed switches via snmp and the Discovery & Actions work great except the Graphs.
The "Actions" look like this.
If:
Received value like "WS-C3550-12G"
Do:
Add host
Add to group "Network Hardware"
Link to template "Template_12Gi-p1"
When I go to monitoring/graph, the graph only plots the last interface in the switch. If I 'unlink and clear' the template, perform a 'save', then re-add the same template the graph feature works fine.
Now if I manually add the node using the 'ip for its name', connect to ip, link it to template and add to a group, graphs work fine. Zabbix won't let me manually add a node without a name, which makes sense.
I believe I'm bumping against a {HOSTNAME} problem, were the hostname has been asigned as the IP address, but the Graphs function doesn't know this yet. I did try to flip my template <useip>0</useip> to <useip>1</useip> but it didn't help.
I would really prefer for discovery to grab the sysName and use it as the hostname during the add actions. Can anybody help me discover nodes with graphs or how to use the sysName as the host name during discovery?
Thanks!
I'm having trouble with port graphs of discovered network switches. I've created auto discovery rule to find managed switches via snmp and the Discovery & Actions work great except the Graphs.
The "Actions" look like this.
If:
Received value like "WS-C3550-12G"
Do:
Add host
Add to group "Network Hardware"
Link to template "Template_12Gi-p1"
When I go to monitoring/graph, the graph only plots the last interface in the switch. If I 'unlink and clear' the template, perform a 'save', then re-add the same template the graph feature works fine.
Now if I manually add the node using the 'ip for its name', connect to ip, link it to template and add to a group, graphs work fine. Zabbix won't let me manually add a node without a name, which makes sense.
I believe I'm bumping against a {HOSTNAME} problem, were the hostname has been asigned as the IP address, but the Graphs function doesn't know this yet. I did try to flip my template <useip>0</useip> to <useip>1</useip> but it didn't help.
I would really prefer for discovery to grab the sysName and use it as the hostname during the add actions. Can anybody help me discover nodes with graphs or how to use the sysName as the host name during discovery?
Thanks!
Comment