Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2018 12:17 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: SNMP long string custom XML
PostPosted: Fri Dec 22, 2017 2:41 am 
Offline

Joined: Fri Dec 22, 2017 2:17 am
Posts: 1
Operating System: Windows server 2012
Webserver: IIS
Cacti: 1.1.28
MySQL: 5.7
PHP: 7.0.25
RRDTool (Cygwin or Win32 build): win

Hello
I have problem with creating custom XML Data Query. In this case my snmp request look like this :
SNMPv2-SMI::enterprises.2026.1.1.0.7 = STRING: "TG=7,Peer=SIP,name=Outgoing_xx.xxx.xx.xxx__7,incalls=0/50[50],outcalls=0/50[50]"


I want to make calls graph. Can anyone help me with filtering long strings with commas becouse i have couple of requests like this so i would like to learn the method to filter this. In most cases i want to get one numeric value from string. Is it possible ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 7 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