Community discussions

MikroTik App
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Cacti V.S. ROS V4.10 onwards

Mon Aug 16, 2010 7:07 pm

Hi all,

I have a bit of a nasty problem.
We've been running Cacti to monitor our MKTK equipment (ref. http://forums.cacti.net/viewtopic.php?t=25349)
If we upgrade to any ROS newer than v 4.9 cacti doesn't retrieve any SNMP data. Tried 5 beta, too... result is the same.
If I browse the SNMP tree with a different software... the OIDs are there with all data.
Nothing has changed in Cacti setup, nothing has changed on MKTK equipment.....
If I downgrade to v 4.9 from 4.10, or any other newer than 4.9 cacti retrieves all SNMP data and shows it in graphs...
Tried rebuilding poller cache, after upgrading ROS,nothing.
I'm hitting my head to a brick wall.....
Anyone has the same problem?

Steven


Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.31-17-server
Web Server - Apache/2.2.12 (Ubuntu)
PHP - 5.2.10-2ubuntu6.4
PHP Extensions - date, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, session, filter, ftp, gettext, hash, iconv, json, mbstring, mime_magic, posix, Reflection, standard, shmop, SimpleXML, soap, sockets, SPL, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, apache2handler, gd, mcrypt, mysql, mysqli, PDO, pdo_mysql, snmp
MySQL - 5.1.37-1ubuntu5.4
RRDTool - 1.3.1
SNMP - 5.4.1
Plugins
  • Global Plugin Settings (settings - v0.5)
    Login Page Mod (loginmod - v1.0)
    Host Info (hostinfo - v0.2)
    Realtime for Cacti (realtime - v0.32)
    Device Monitoring (monitor - v0.8.2)
    Update Checker (update - v0.4)
    agregate
    Cacti Log View (CLog - v1.1)
    Documents (docs - v0.1)
    RRD Cleaner (rrdclean - v1.1)
    SuperLinks (superlinks - v0.8)
    Network Tools (tools - v0.3)
    IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4d)
    PHP Network Weathermap (weathermap - v0.97a)
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 1:29 pm

Hello,

I have Version 0.8.7b and all 4.9 devices are working.
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 2:26 pm

Hi Martin,
Devices with v 4.9 do work without problem.
Would it be too much to ask to upgrade one of yours MKTKs to v 4.10?

I just can't get my head around this one.
Not even the generic interface query works on this box.
I wander what changed in v4.10?????!!!!!!!
What's new in 4.10 (2010-May-28 13:59):
*) added support for ethernet switch configuration in WinBox;
*) allow to configure 11n wireless rate tx powers in WinBox;
*) dhcp server - show non-printable option 82 agent-circuit-id and
agent-remote-id values in hexadecimal notation also in winbox;
*) api - fixed '/ip/route/print', was not showing '.id' values;
*) console - fixed printing of OID values;
*) lcd - added support for AX89063
I think I might have found the problem here...... *) console - fixed printing of OID values;

This are the results of verbose queries of both associated data queries to a MKTK box.
Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/interface.xml'
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/resource/snmp_queries/wmikrotik.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/resource/snmp_queries/wmikrotik.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/wmikrotik.xml'
+ Found data query XML file at '/var/www/resource/snmp_queries/wmikrotik.xml'
What do you think?

Steven
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 2:39 pm

: O! You Work in Semake.. : P!!!

I'll try to upgrade one to 4.10. I hope this won't crash the AP, because I'm doing tests and the costumer needs it working.
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 2:47 pm

: O! You Work in Semake.. : P!!!

I'll try to upgrade one to 4.10. I hope this won't crash the AP, because I'm doing tests and the costumer needs it working.
do not upgrade the boot loader because if you revert it to v4.9 you'll crash the AP or all interfaces will be in a big mess.
Done that with a RB1100 and I had a 2000 customers + no Internet nightmare :)

steven
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 2:57 pm

Updated to 4.10 and all is working fine. Give me some time to see if cacti still working : P!
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 3:03 pm

Updated to 4.10 and all is working fine. Give me some time to see if cacti still working : P!
GOOD :) Let me know... I'll have a smoke until then....

thanks mate,
Steven
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 3:17 pm

My cacti still retrieving data. All is working fine with this 4.10. : /
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 3:27 pm

Me vuelvo loco.

steven
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 3:36 pm

I think it depends on what are you monitoring... I'm looking for the CPU, memory and more basic things.. I never reach to make the frequency or registrations or signals working with cacti..
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 5:02 pm

I think it depends on what are you monitoring... I'm looking for the CPU, memory and more basic things.. I never reach to make the frequency or registrations or signals working with cacti..
the thing is, I do :) and works just peachy until upgrading to v 4.10
I monitor:
Traffic on all interfaces
Associated clients
Router board voltage (where it applies)
Routerboard Temperature (where it applies)
Memory Usage
Disk Usage
Uptime
CPU
I have 150+ MKTK based units monitored, plus another 1000 customers which request to be monitored or we put them under monitoring for better analysis of their connections.... you imagine upgrading all infrastructure and CPEs to the latest stable (v.411).
BLINDNESS.

I've been using the same scripts, host and graph templates for the past 3 years (except voltage and temperature which are new additions in MKTK OIDs) on different Cacti servers
As I said, all works fine without problems for all boards with ROS 4.9 or older.


As a matter of fact, I deleted the host that has v 4.10 from Cacti, deleted all RRDs and recreated the host. now I have some graphs but incomplete. It only retrieves the used memory but not the total memory, assoc stations - nada.

I know it has to be a reason. I'll check Cacti forums......
I wander if that "fixed printing of OID values" which Mikrotik "blessed" us with, has something to do here :)
I bet they fixed something that was already working :)
It would be helpful if anyone at Mikrotik explain what "fixed printing of OID values" means?

Cheers,

Steven
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 5:16 pm

How you monitor this?

Traffic on all interfaces
Associated clients
 
User avatar
semakka
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Wed Aug 18, 2010 5:31 pm

How you monitor this?

Traffic on all interfaces
Associated clients
Traffic - you only have to add ASMP - Interface Statistics Data Query to your host template and you can monitor traffic. You can select all interfaces or the one you want (bridge, ethernet or wireles)
Associated stations (only for APs) - is a graph template using the OID 1.3.6.1.4.1.14988.1.1.1.3.1.6.2.
check attached

Cheers,
You do not have the required permissions to view the files attached to this post.
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Cacti V.S. ROS V4.10 onwards

Thu Aug 19, 2010 2:13 am

Thanks!

Who is online

Users browsing this forum: almdandi, garyjduk, massinia, vingjfg and 47 guests