Updated Zabbix Template

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Contributions Upload
Author Message
textbuk
DD-WRT Novice


Joined: 25 Apr 2020
Posts: 2

PostPosted: Fri May 08, 2020 18:03    Post subject: Updated Zabbix Template Reply with quote
I found that the template to link ddwrt to zabbix was out of date. I have updated the file and hope someone will find it useful in their setup.

I got errors where the following are missing on some items:

<snmpv3_contextname/>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<logtimefmt/>

Will probably keep on updating it until we have official updates.
Sponsor
SparkStormrider
DD-WRT Novice


Joined: 08 Sep 2015
Posts: 6

PostPosted: Fri May 15, 2020 16:07    Post subject: Reply with quote
Thanks for the info! That corrected the errors I was getting when trying to import to my Zabbix 4.4 instance.

Currently I have a Linksys wrt3200acm being monitored by an instance of Zabbix 4.4.8. I noticed that I was not getting any data for the "Network Traffic WAN" under graphs. Upon further investigation it was trying to pull information from port "ppp0". I replaced every instance of ppp0 with eth0 in the template and data is now populating on the graph. I am going to do some testing to ensure accuracy.
textbuk
DD-WRT Novice


Joined: 25 Apr 2020
Posts: 2

PostPosted: Sat May 16, 2020 0:57    Post subject: Reply with quote
I am happy you were able to find this solution useful. Please post an updated template after you have done your testing, I was also not able to recieve any data for network trafficking and that may be the culprit. Thanks!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 5541
Location: Netherlands

PostPosted: Sat May 16, 2020 7:49    Post subject: Reply with quote
If you are happy with it please file a "bug" report in the bug tracker otherwise it will not get updated:
https://svn.dd-wrt.com/

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
SparkStormrider
DD-WRT Novice


Joined: 08 Sep 2015
Posts: 6

PostPosted: Thu May 28, 2020 17:54    Post subject: Reply with quote
Hey textbuk, good idea. I have attached my 4.4 template. Here is what I have updated on mine. You should see WAN graphing, LAN graphing, I have also added some graphs for 2.4ghz bandwidth in and out, 5ghz band in and out. I have only tested on wrt3200acm.

This will also import into a Zabbix 5.0 LTS instance. However I don't think it will work if you modify it in 5.0 export it again and try and import into previous versions. There are some extra things in 5.0 that I am seeing that's not in previous versions such as "Screens". This is pure speculation however as I am still learning some 5.0 stuff, since my 4.4 instance went *POOF*.

Edit: Forgot to add. I modified the Incoming and Outgoing traffic items, units bps from Bps, and added custom multiplier of 8 to each so that I could get values in bits per second instead of Bytes per second. Also I modified "Network Traffic WLAN" to "Network Traffic LAN" because eth1 that its graphing is actually the LAN. LAN/WLAN might be more accurate, but I haven't had a chance to circle back around and address it. Feel free to PM me if you like and we can discuss further if you want.


Last edited by SparkStormrider on Thu May 28, 2020 19:11; edited 2 times in total
SparkStormrider
DD-WRT Novice


Joined: 08 Sep 2015
Posts: 6

PostPosted: Thu May 28, 2020 17:57    Post subject: Reply with quote
egc wrote:
If you are happy with it please file a "bug" report in the bug tracker otherwise it will not get updated:
https://svn.dd-wrt.com/


I wouldn't say 100% happy with it yet as there are some things that aren't quite working yet that I am trying to see if it's my router, or if its the template with incorrect values. Once I determine everything is working as I would like, I'd like to try working with another router to ensure that it'll work with it. It's possible there are different parameters for different routers?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum