[SOLVED] Graph Uptime on Telrad 7000

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
oijkn
Posts: 15
Joined: Mon Mar 05, 2018 5:41 am

Re: XML parse STRING from OID to set ITEMS - Telrad 7000

#16 Post by oijkn » Fri Nov 16, 2018 2:46 am

Well, with some advise from my colleague, I have coded a script who get the value of the OID like "0 days 3 hours 18 minutes" and then I convert it in timesticks for Cacti.

Next step is to associate it to my graph... to be continue :)

netniV
Cacti Guru User
Posts: 3035
Joined: Sun Aug 27, 2017 12:05 am

Re: XML parse STRING from OID to set ITEMS - Telrad 7000

#17 Post by netniV » Fri Nov 16, 2018 3:48 am

Well, that was what I suggested earlier. However, if you could work out the formula for the uptime OID, then you wouldn't have to try and parse a string (which can potentially go wrong). Hence I was asking for more examples. At least your moving forward now :)

oijkn
Posts: 15
Joined: Mon Mar 05, 2018 5:41 am

Re: XML parse STRING from OID to set ITEMS - Telrad 7000

#18 Post by oijkn » Fri Nov 16, 2018 9:19 am

Well, I have finish to code my script and manage the data in Cacti :)

Thank you very much for your help !!
Attachments
Capture.PNG
Capture.PNG (13.94 KiB) Viewed 205 times

netniV
Cacti Guru User
Posts: 3035
Joined: Sun Aug 27, 2017 12:05 am

Re: [SOLVED] Graph Uptime on Telrad 7000

#19 Post by netniV » Fri Nov 16, 2018 10:15 am

It would probably be useful if you can upload your template and script file :)

oijkn
Posts: 15
Joined: Mon Mar 05, 2018 5:41 am

Re: [SOLVED] Graph Uptime on Telrad 7000

#20 Post by oijkn » Mon Nov 19, 2018 5:17 am

Hi, here all data needed to get Device/Conncection Uptime for he CPE Telrad 7000 WiMax.
I hope that can help someone else :)

Thank you for helping me !
Attachments
Telrad 7000 - Device - Connection - Uptime.zip
Device/Conncection Uptime for he CPE Telrad 7000 WiMax
(14.4 KiB) Downloaded 20 times

Post Reply