With the above fixes mentioned for 2.4, will the script work with 2.2? Or will the 2.0 version suffice for 2.2?
Ad Widget
Collapse
Automatic graph of all LLD items per host
Collapse
X
-
has anyone gotten the script to work in 3.0?
edit: IT WORKS.
jensd's fix in this post in addition to puking out the $res variables in some of the functions made troubleshooting easy. The main problem I had is that the zabbix appliance defaults to /zabbix/ instead of in the root. So http://127.0.0.1/zabbix/api_jsonrpc.php was my golden ticket.Last edited by maplesyrupghost; 23-03-2016, 19:49.Comment
-
No idea how to fix this... Doesn't work. I only want to test.
Also isn't this already a part of zabbix 3.0? Go to any host, create graph, add item, select host by host you need from dropdown and add the item. Click save and you'll have graphs like Processor ALL hosts just like in pic.Code:'"' expected, at character offset 3 (before "font-family: verdana...") at ./lld_all_graph.pl line 64.
Only thing is, that graph gets linked to all host, its just a link not adding other graph.. If you delete it in any host, it gets deleted everywhere.
I don't like it being linked in all hosts, still trying to figure out if there's a way to just put it in one host. Because I have a ghost host (0.0.0.0) for every group, and I want this graph only in that host. But the graph couldn't be linked/created to it.... It always ends up in the hosts of each host item selected.Comment
-
I am on 3.0.9 and I don't see auto-discovered items can be added? Is there a way?No idea how to fix this... Doesn't work. I only want to test.
Also isn't this already a part of zabbix 3.0? Go to any host, create graph, add item, select host by host you need from dropdown and add the item. Click save and you'll have graphs like Processor ALL hosts just like in pic.Code:'"' expected, at character offset 3 (before "font-family: verdana...") at ./lld_all_graph.pl line 64.
Only thing is, that graph gets linked to all host, its just a link not adding other graph.. If you delete it in any host, it gets deleted everywhere.
I don't like it being linked in all hosts, still trying to figure out if there's a way to just put it in one host. Because I have a ghost host (0.0.0.0) for every group, and I want this graph only in that host. But the graph couldn't be linked/created to it.... It always ends up in the hosts of each host item selected.
Otherwise this script ran fine for me after making some minor changesComment
-
when i run perl lld_all_graph.pl, i have this message :
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Hypervisors (7)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Linux servers (2)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Applications (12)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Databases (13)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Modules (8)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Network devices (9)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Operating Systems (16)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Operating systems (10)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Server hardware (11)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Templates/Virtualization (14)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Virtual machines (6)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Zabbix servers (4)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
but i don't see any graph, why ?Comment
-
Most probably you didn't modify `$regexes` and/or other attributes in section "modify these values accordingly".when i run perl lld_all_graph.pl, i have this message :
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
HOSTGROUP: Hypervisors (7)
HOST: 270PRO_Calarasi (10286)
Graph created: WIN Volume "ALL" bytes/sec stack
...
but i don't see any graph, why ?Comment
-
I've made some improvements in the script. Released this on Github: Zabbix 4.0 compatibility and updates. Changes from original:- Zabbix 4.0 compatibility (authentication fix; should be compatible with 3.0 too).
- External config.pl (for easier customization).
- Update graph instead of create -- you can add your graphs to Screens thanks to this!
- Option to re-create graphs (delete before creating -- this was previous default, I made this optional).
- Error reporting/diagnostics (display problems for creating graphs and for authentication).
mmarkwitzz could state what the license for this actually is? CC-BY? MIT? CC-BY-SA? Thanks in advance
🥰 1Comment
-
License? What license? It's completely free, reusable and modifiable😀 1 -
mmarkwitzz OK, so I will assume that means CC-BY (just stayting original author) is fine by you :-)
Comment