[SOLVED] Graph Uptime on Telrad 7000

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

Moderators: Developers, Moderators

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

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

Post by oijkn »

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: 3440
Joined: Sun Aug 27, 2017 12:05 am

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

Post by netniV »

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 :)
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
oijkn
Posts: 18
Joined: Mon Mar 05, 2018 5:41 am

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

Post by oijkn »

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 715 times
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: [SOLVED] Graph Uptime on Telrad 7000

Post by netniV »

It would probably be useful if you can upload your template and script file :)
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
oijkn
Posts: 18
Joined: Mon Mar 05, 2018 5:41 am

Re: [SOLVED] Graph Uptime on Telrad 7000

Post by oijkn »

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 105 times
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests