Network Switch Port Bandwidth monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sampath.krb
Posts: 23
Joined: Fri Dec 09, 2016 3:07 pm

Network Switch Port Bandwidth monitoring

Post by sampath.krb »

Hello There, I am trying to configure monitoring on a Network Switch via Configuration Wizard --> Network Switch / Router. The config wizard detected about 400+ ports, but when I proceed further configuring, I see only 123 services getting created even though there are 400+ ports on the switch. Can any one please help me identify what is that am doing wrong here.

Thank You.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Network Switch Port Bandwidth monitoring

Post by rkennedy »

I believe this is due to the PHP limits. Can you post your /etc/php.ini, and a copy of these files for us to review?

Code: Select all

/var/log/httpd/error_log
/var/log/httpd/ssl_error_log
/var/log/httpd/access_log
/var/log/httpd/ssl_access_log
Former Nagios Employee
sampath.krb
Posts: 23
Joined: Fri Dec 09, 2016 3:07 pm

Re: Network Switch Port Bandwidth monitoring

Post by sampath.krb »

Hi rkennedy, Thank you for the quick reply. I am not sure if I can upload the files you asked for, but am attaching the php.ini file. Please check and let me know if that helps.

Thank You,
Sampath.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Network Switch Port Bandwidth monitoring

Post by rkennedy »

Could you run the following and attempt to run through the wizard, and then send over the output produced?

Code: Select all

tail -f /var/log/httpd/*_log
Since you can't attach the full files, running this will hopefully lead us to the error message you're receiving.
Former Nagios Employee
sampath.krb
Posts: 23
Joined: Fri Dec 09, 2016 3:07 pm

Re: Network Switch Port Bandwidth monitoring

Post by sampath.krb »

I just tried running the tail command without attempting to run the config wizard, but still the files are constantly being updated. Please let me know if that is alright, so I can run the config wizard and share you the output.
rkennedy wrote:Could you run the following and attempt to run through the wizard, and then send over the output produced?

Code: Select all

tail -f /var/log/httpd/*_log
Since you can't attach the full files, running this will hopefully lead us to the error message you're receiving.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Network Switch Port Bandwidth monitoring

Post by mcapra »

We will need to see some sort of content from those files to determine if it is a PHP/Apache error causing this. Without that information, we can't really confirm/deny certain problem sources.

You might try adjusting the post_max_size directive in your php.ini to be larger:

Code: Select all

post_max_size = 32M
Then restarting the httpd service. See if that increases the number of services created.
Former Nagios employee
https://www.mcapra.com/
sampath.krb
Posts: 23
Joined: Fri Dec 09, 2016 3:07 pm

Re: Network Switch Port Bandwidth monitoring

Post by sampath.krb »

I will give it a shot and update you how it goes.

If it does not yield expected results, I will share you the log file output while I run the config wizard.

Thank You.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Network Switch Port Bandwidth monitoring

Post by mcapra »

Let us know if you have any additional updates/questions regarding this issue!
Former Nagios employee
https://www.mcapra.com/
sampath.krb
Posts: 23
Joined: Fri Dec 09, 2016 3:07 pm

Re: Network Switch Port Bandwidth monitoring

Post by sampath.krb »

Adjusting post_max_size did not resolve the issue. I will share the error logs today.

Thank You.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Network Switch Port Bandwidth monitoring

Post by dwhitfield »

We probably don't need the entire logs, just something like the following:

Code: Select all

tail -100 /var/log/httpd/error_log
tail -100 /var/log/httpd/ssl_error_log
tail -100 /var/log/httpd/access_log
tail -100 /var/log/httpd/ssl_access_log
UPDATE: logs received and shared with techs.
Locked