Page 1 of 1

rrd files not creating for new network device

Posted: Wed Jul 18, 2018 5:16 pm
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

Re: rrd files not creating for new network device

Posted: Wed Jul 18, 2018 6:31 pm
by vAJ
MRTG issues. I have this.

Re: rrd files not creating for new network device

Posted: Thu Jul 19, 2018 7:23 am
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

Re: rrd files not creating for new network device

Posted: Thu Jul 19, 2018 8:29 am
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.

Re: rrd files not creating for new network device

Posted: Thu Jul 19, 2018 8:32 am
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