Search found 20 matches

by developerx9
Thu Jan 05, 2017 4:17 am
Forum: Nagios XI
Topic: SNMP Traps
Replies: 7
Views: 2144

Re: SNMP Traps

Hello,


Has not helped.
Is there something I'm missing?

I've followed your documentation on smtp traps, but it's a bit outdated tbh
by developerx9
Wed Jan 04, 2017 9:19 am
Forum: Nagios XI
Topic: SNMP Traps
Replies: 7
Views: 2144

SNMP Traps

Hi, I'm having issues with setting up SNMP Trap monitoring for some router devices we have. During the Wizard, I'm getting the following --> "There are no monitoring options to configure with SNMP Traps. Click Next to continue." Nagios XI 5.3.3. is the version being used. I've tried instal...
by developerx9
Tue Nov 15, 2016 8:53 am
Forum: Nagios XI
Topic: Ulimit issues - fixed.
Replies: 1
Views: 729

Ulimit issues - fixed.

Hello,

Upgrade failed again, for the same reason (can not read security limits).
You said it was fixed from your end (https://support.nagios.com/forum/viewto ... =6&t=40539) . When can we expect to see this in production?

Thank you.
by developerx9
Tue Nov 15, 2016 7:13 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

Since you guys are unwilling to correct the issue, here is a custom fix for anyone that faced the same problem. Create a custom case in the page_router.inc.php script located in "/usr/local/nagiosxi/html/includes/components/ccm/includes" case 'deleteCustom': //die('this is custom delete ha...
by developerx9
Tue Nov 15, 2016 3:13 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

The database is optimized. We have gone through this several post ago. The amount of data is not the issue but the polling of the DB every time we delete a service which fetches all the servers for the sake of GUI which we do not even use, and the fact that your "API" (which is just a wrap...
by developerx9
Sun Nov 13, 2016 4:48 pm
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

Hi, sorry for the late reply. I've rewritten the script to utilize the API, just to find out it is still slow as before. Then I saw that when I use the API for delete the service it actually calls the "nagiosql.delete.service" script with the "id" of the service, which then gener...
by developerx9
Tue Oct 18, 2016 8:05 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

So we figured out what the blocker is, it's the fact that /usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'type=service&cmd=delete&id=18384' -O nagiosql.delete.service is doing a bunch of unnecessary work and...
by developerx9
Tue Oct 18, 2016 7:10 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

Additional info regarding mysql: - delete_service.php is FAST before reconfigure_nagios is executed, so I wouldn't say that mysql is the bottleneck here. (or at least haven't gotten evidence so far) - I have been running MySQL from memory, just for troubleshooting purposes. delete_service.php was st...
by developerx9
Tue Oct 18, 2016 2:18 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

Hello, slow query log has no entries (I've set the threshold to 1 second). Before running 'reconfigure_nagios': # mysql -h localhost -p -e 'SELECT table_schema "Data Base Name", sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB", sum( data_free )/ 1024 / 1024 ...
by developerx9
Mon Oct 17, 2016 4:46 am
Forum: Nagios XI
Topic: Removing services takes a long time
Replies: 19
Views: 5254

Re: Removing services takes a long time

Hello, The issue is not with reconfigure_nagios as that finished pretty quickly. Issue is with nagiosql_delete_service.php and nagiosql_delete_host.php taking a long time after reconfigure_nagios is executed. So nagiosql_delete_service.php and nagiosql_delete_host.php is the bottleneck here. Example...