Meraki MX64 RRDTool Says Error C:/ No such file or directory

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Meraki MX64 RRDTool Says Error C:/ No such file or directory

Post by Mrvw67 »

Hello,
========================
System info
Technical Support
General Information
Date Tue, 14 Feb 2017 09:58:32 -0500
Cacti Version 0.8.8h
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.4.x
Hosts 184
Graphs 5900
Data Sources Script/Command: 20
SNMP: 186
SNMP Query: 6313
Script Query: 77
Script - Script Server (PHP): 12
Total: 6608
Poller Information
Interval 300
Type cmd.php
Items Action[0]: 10699
Action[1]: 168
Action[2]: 12
Total: 10879
Concurrent Processes 48
Max Threads 5
PHP Servers 5
Script Timeout 240
Max OID 50
Last Run Statistics Time:42.2852 Method:cmd.php Processes:48 Threads:N/A Hosts:162 HostsPerProcess:4 DataSources:10879 RRDsProcessed:4278
PHP Information
PHP Version 5.6.14
PHP OS WINNT
PHP uname Windows NT NHHQTRAP01 10.0 build 14393 (Windows Server 2016) AMD64
PHP SNMP Installed
max_execution_time 60
memory_limit 256M
==================

Hoping I can get some direction. Any posts I'm able to find seem to point to Permissions issues or this problem being a global issue. I'm only having a problem with newly added Meraki MX64 Devices. I'm able to create graphs for other devices (Ex Cisco Switches, Firewalls) I connect to the Meraki MX64 using the Generic SNMP-enabled Host Template. Verbose Query comes back fine no errors. I can see the interfaces and add the In/Out Bits (64-Bit Counter) for graphing them. However after poling cycle the graphs do not created The Debug on the graph just says "ERROR: opening 'C:/inetpub/wwwroot/cacti/rra/corp_meraki_mx64_traffic_in_12827.rrd': No such file or directory"

snmpwalk connects and I can pull the ifHCInOctets/ifHCOutOctets just fine...

Help/suggestions please?

(Edit) Forgot to mention if I use Realtime graphs pluggin it pulls the data for realtime successfully
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Mrvw67 »

Bump. Any suggestions? I can't figure out why only these Meraki devices won't pole and create rrd. Yet live graphs work?
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Mrvw67 »

Still struggling with this. I don't get why rrd won't create graphs for just the meraki. I'm using the builtin SNMP - Interface templates and it is able to read all 5 just fine. I created graphs using the In/Out Bits (64-bit Counters).
I can confirm I get data with snmpwalk, and realtime graphs work... just rrd never makes a graph during the normal polling. Permissions don't seem to be an issue either as I just created another 8 Cisco Switch devices using Generic SNMP also and those are generating fine.

C:\>snmpwalk.exe -v 2c -c community x.x.x.x .1.3.6.1.2.1.31.1.1.1.10
IF-MIB::ifHCOutOctets.1 = Counter64: 1774290572
IF-MIB::ifHCOutOctets.2 = Counter64: 3846312872
IF-MIB::ifHCOutOctets.3 = Counter64: 0
IF-MIB::ifHCOutOctets.4 = Counter64: 0
IF-MIB::ifHCOutOctets.5 = Counter64: 2273712469

C:\>snmpwalk.exe -v 2c -c community x.x.x.x .1.3.6.1.2.1.31.1.1.1.6
IF-MIB::ifHCInOctets.1 = Counter64: 210372758
IF-MIB::ifHCInOctets.2 = Counter64: 2061332782
IF-MIB::ifHCInOctets.3 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 0
IF-MIB::ifHCInOctets.5 = Counter64: 1668120919
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Mrvw67 »

Ok I've got some additional news. I tried changed the poller from cmd.php to Spine. When the poller was cmd.php the graphs (again only for meraki devices) would not generate a graph. When I changed it to Spine, the graphs generated.

Why would the poller make such a difference?

To test this I spun up a new Cacti Server and added only Meraki devices. You can see with the cmd.php polling it didn't process any RRD's. Yet once I switched to Spine they got processed.

2017-04-17 14:13:03 - SYSTEM STATS: Time:2.5790 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:62 RRDsProcessed:30
2017-04-17 12:48:43 - SYSTEM STATS: Time:2.1485 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:62 RRDsProcessed:0
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Mrvw67 »

Bump. Any ideas why I can only poll Meraki using Spine and not cmd?
Mrvw67
Posts: 14
Joined: Mon Jan 05, 2015 12:44 pm

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Mrvw67 »

bump
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Meraki MX64 RRDTool Says Error C:/ No such file or direc

Post by Osiris »

I think the biggest problem is that you are using Windows and not Linux. It also looks like you may have some permission issues, or there are missing components such as net-snmp or php-snmp, you can tell this from Settings > Paths. Or, being that there were 0 data sources updated, it could be that you are playing with settings and turned boost on/off between testing. You have to really know what you are doing before you turn on boost. I suggest you move to Cacti 1.x also. Lastly, if you were using Linux, I could be more helpful.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests