rrd files not creating for new network device

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

rrd files not creating for new network device

Post by Sampath.Basireddy »

Hello There,

I was trying to remove and re-add couple of network devices from NagiosXI, but when I added them back, I am running into couple of issues.

1. When running the "Network Switch / Router Config Wizard", I can see all the ports discovered, but when I select the required ports to be monitored, service checks are created only for 129 ports. We have more than 250 ports to be monitored on this device. Prior to deleting, I had about 255 ports monitored on this same devices.

2. .rrd files did not get created.

Steps followed for re-adding the device:
Deleted all the service checks
Deleted the network host
Deleted all the existing .rrd files of that particular device from "/var/lib/mrtg"
Deleted .cfg file of the device from /etc/mrtg/conf.d

I have done this a handful times, but never ran into this issue.

NagiosXI Version: 5.4.13
Network Switch / Router Config version: 2.3.9
mrtg-2.17.4
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: rrd files not creating for new network device

Post by vAJ »

MRTG issues. I have this.
Andrew J. - Do you even grok?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrd files not creating for new network device

Post by scottwilkerson »

You are likely hitting the max_input_vars limit in PHP

Add the following to your /etc/php.ini

Code: Select all

max_input_vars = 15000
Then restart httpd

Code: Select all

service httpd restart
then re-run the wizard
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: rrd files not creating for new network device

Post by vAJ »

Thanks Scott.

Yes, MRTG issue + PHP. Not sure how that got changed. php.ini shows last modified Nov '17. Possible a PHP upgrade then and we haven't had a large switch added since then.

We're good to close this up, Sampath is on my team.

Thanks,
Andrew J.
Andrew J. - Do you even grok?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrd files not creating for new network device

Post by scottwilkerson »

vAJ wrote:Thanks Scott.

Yes, MRTG issue + PHP. Not sure how that got changed. php.ini shows last modified Nov '17. Possible a PHP upgrade then and we haven't had a large switch added since then.

We're good to close this up, Sampath is on my team.

Thanks,
Andrew J.
Got ya.. Thanks Andrew

Closing
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked