Help to build a graph template for Huawei MA5800 OLT
Moderators: Developers, Moderators
-
- Posts: 18
- Joined: Fri Aug 14, 2020 10:06 am
Re: Help to build a graph template for Huawei MA5800 OLT
hi Dear adriansima
Huawei ONT - Optical Power Level is Success [0 Items, 0 Rows]
please help me how to fix it ?
Verbse query :Huawei ONT - Optical Power Level
Data Query Debug Information
Total: 0.000000, Delta: 0.000000, Found data query XML file at 'C:/xampp/htdocs/cacti/resource/script_queries/ont_opl.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [19].
Total: 0.000000, Delta: 0.000000, Found Type = '4' [Script Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.380000, Delta: 0.370000, Executing script for num of indexes 'c:\xampp\php\php.exe -q C:\xampp\htdocs\cacti\scripts\ont_opl.php "192.168.164.57" "public" "num_indexes"'
Total: 0.380000, Delta: 0.000000, Found number of indexes: 0
Total: 0.770000, Delta: 0.390000, ERROR: Data Query returned no indexes.
Huawei ONT - Optical Power Level is Success [0 Items, 0 Rows]
please help me how to fix it ?
Verbse query :Huawei ONT - Optical Power Level
Data Query Debug Information
Total: 0.000000, Delta: 0.000000, Found data query XML file at 'C:/xampp/htdocs/cacti/resource/script_queries/ont_opl.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [19].
Total: 0.000000, Delta: 0.000000, Found Type = '4' [Script Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.380000, Delta: 0.370000, Executing script for num of indexes 'c:\xampp\php\php.exe -q C:\xampp\htdocs\cacti\scripts\ont_opl.php "192.168.164.57" "public" "num_indexes"'
Total: 0.380000, Delta: 0.000000, Found number of indexes: 0
Total: 0.770000, Delta: 0.390000, ERROR: Data Query returned no indexes.
- Attachments
-
- ONT 5600.png (28.99 KiB) Viewed 8070 times
-
- Posts: 18
- Joined: Fri Aug 14, 2020 10:06 am
Re: Help to build a graph template for Huawei MA5800 OLT
Thanks you very much to Sir adriansima for the kind supporting and helpataullahsaleem wrote: ↑Fri Sep 11, 2020 6:03 am hi Dear adriansima
Huawei ONT - Optical Power Level is Success [0 Items, 0 Rows]
please help me how to fix it ?
Verbse query :Huawei ONT - Optical Power Level
Data Query Debug Information
Total: 0.000000, Delta: 0.000000, Found data query XML file at 'C:/xampp/htdocs/cacti/resource/script_queries/ont_opl.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [19].
Total: 0.000000, Delta: 0.000000, Found Type = '4' [Script Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.380000, Delta: 0.370000, Executing script for num of indexes 'c:\xampp\php\php.exe -q C:\xampp\htdocs\cacti\scripts\ont_opl.php "192.168.164.57" "public" "num_indexes"'
Total: 0.380000, Delta: 0.000000, Found number of indexes: 0
Total: 0.770000, Delta: 0.390000, ERROR: Data Query returned no indexes.
i have fixed all the errors what i had faced last time
here is my graphs sample
please use the default paths of Cacti root folder for all Huawei OLT 5600 Host template contents even Poller.php file
and just create a crontab script
sudo nano /etc/cron.d/ontpoller
and paste the script
*/5 * * * * www-data php /var/www/html/ontopl_poller.php > /dev/null 2>&1
if you getting a error or script is not working properly you must change in ontopl_poller.php file on line 98
your php did not have ereg function.
replace this line:
ereg("^.*([0-9]{10,20}.[0-9]{1,3})",$snmpONT_OID_ar[0],$oid_regex);
with this:
preg_match("/^.*([0-9]{10,20}.[0-9]{1,3})/",trim($snmpONT_OID_ar[0]),$oid_regex);
thanks you Cacti group and Sir adriansima
- Attachments
-
- 2020-11-18_12-29.png (80.05 KiB) Viewed 7848 times
-
- 2020-11-18_12-26.png (27.87 KiB) Viewed 7848 times
-
- 2020-11-18_12-25.png (38.33 KiB) Viewed 7848 times
Re: Help to build a graph template for Huawei MA5800 OLT
Hi,
thanks for this usefull post. but unfortunately i have problem when verbose ont opl associated data query i found that some "crossing" data between diifferent OLT devices , eg: some data for ont opl on OLT A will be queryied on OLT B and OLT C and so on. any help will apreciated
Thx
thanks for this usefull post. but unfortunately i have problem when verbose ont opl associated data query i found that some "crossing" data between diifferent OLT devices , eg: some data for ont opl on OLT A will be queryied on OLT B and OLT C and so on. any help will apreciated
Thx
Re: Help to build a graph template for Huawei MA5800 OLT
For assistance ! CACTI SNMP setting for Huawei OLT 5600 series
https://youtu.be/4e5lxwMIzMM
and
https://www.youtube.com/playlist?list=P ... 7rN4RyUzWb
https://youtu.be/4e5lxwMIzMM
and
https://www.youtube.com/playlist?list=P ... 7rN4RyUzWb
Re: Help to build a graph template for Huawei MA5800 OLT
Hello!
I'm running Cacti 1.2.2 on Debian 10, when trying to import the template I get this:
XML: Hash version does not exist.
XML parse error.
Is there any workaround to solve this or must I downgrade Cacti?
Thank you so much.
I'm running Cacti 1.2.2 on Debian 10, when trying to import the template I get this:
XML: Hash version does not exist.
XML parse error.
Is there any workaround to solve this or must I downgrade Cacti?
Thank you so much.
-
- Posts: 18
- Joined: Fri Aug 14, 2020 10:06 am
Re: Help to build a graph template for Huawei MA5800 OLT
Configuring Huawei OLT MA5600 Series host template on Cacti | IP CORE NETWORKSSophanith wrote: ↑Mon Apr 03, 2017 3:24 am Hi All,
I'm starting to deploy one Huawei MA5800 OLT and looking for scripts and graph template to fetch all graph on interfaces uplink port, PONs UP/DOWN Link port and ONT/ONU connect to end customer port.
If you could share or build such this graph/script template using its OIDs. Or please let me know for other requirements needed or questions.
I am happy to pay if you can build a workable template/scripts to fits my requirements.
Thanks,
https://youtu.be/UvFcbQusRFM
-
- Posts: 18
- Joined: Fri Aug 14, 2020 10:06 am
Re: Help to build a graph template for Huawei MA5800 OLT
cciepearl wrote: ↑Wed Apr 28, 2021 2:36 am
Configuring Huawei OLT MA5600 Series host template on Cacti | IP CORE NETWORKS
https://youtu.be/UvFcbQusRFM
For assistance ! CACTI SNMP setting for Huawei OLT 5600 series
https://youtu.be/4e5lxwMIzMM
and cacti Playlist
https://www.youtube.com/playlist?list=P ... 7rN4RyUzWb
Re: Help to build a graph template for Huawei MA5800 OLT
Hello,dersaeba wrote: ↑Sat Jan 30, 2021 3:55 am Hi,
thanks for this usefull post. but unfortunately i have problem when verbose ont opl associated data query i found that some "crossing" data between diifferent OLT devices , eg: some data for ont opl on OLT A will be queryied on OLT B and OLT C and so on. any help will apreciated
Thx
I am attaching a modified PHP script working in Cacti 1.2.27, Ubuntu 22, PHP8, tested with several OLTs (MA5608T, SmartAX MA5801-GP08-H2), SNMPv2.
- Attachments
-
- ma5600_template.zip
- (15.56 KiB) Downloaded 44 times
Who is online
Users browsing this forum: No registered users and 2 guests