Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 25, 2019 7:11 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: XML parse STRING from OID to set ITEMS - Telrad 7000
PostPosted: Fri Nov 16, 2018 2:46 am 
Offline

Joined: Mon Mar 05, 2018 5:41 am
Posts: 15
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 :)


Top
 Profile  
 
 Post subject: Re: XML parse STRING from OID to set ITEMS - Telrad 7000
PostPosted: Fri Nov 16, 2018 3:48 am 
Offline
Cacti Guru User

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

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: XML parse STRING from OID to set ITEMS - Telrad 7000
PostPosted: Fri Nov 16, 2018 9:19 am 
Offline

Joined: Mon Mar 05, 2018 5:41 am
Posts: 15
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 76 times ]
Top
 Profile  
 
 Post subject: Re: [SOLVED] Graph Uptime on Telrad 7000
PostPosted: Fri Nov 16, 2018 10:15 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2414
It would probably be useful if you can upload your template and script file :)

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: [SOLVED] Graph Uptime on Telrad 7000
PostPosted: Mon Nov 19, 2018 5:17 am 
Offline

Joined: Mon Mar 05, 2018 5:41 am
Posts: 15
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:
File comment: Device/Conncection Uptime for he CPE Telrad 7000 WiMax
Telrad 7000 - Device - Connection - Uptime.zip [14.4 KiB]
Downloaded 11 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group