Search found 192 matches

by highness
Mon May 15, 2017 2:40 pm
Forum: Nagios XI
Topic: Multiple calls to API with applyconfig=1
Replies: 5
Views: 137

Re: Multiple calls to API with applyconfig=1

Are you asking if there is an API call to see if the system needs an apply config ran or if one is in the queue? If so, that function is not in the API currently, your application would have to keep track of that for you. Not really - wanting to know where it queues those requests up at. Are they a...
by highness
Mon May 15, 2017 2:37 pm
Forum: Nagios XI
Topic: Errors in /var/log/httpd/error_log
Replies: 5
Views: 125

Re: Errors in /var/log/httpd/error_log

Here is my original line:

Code: Select all

error_reporting = E_ALL & ~E_DEPRECATED
and after adding the new line:

Code: Select all

error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
and restarting apache via:

Code: Select all

service httpd restart
Still no joy. Errors are still being logged.
by highness
Mon May 15, 2017 12:47 pm
Forum: Nagios XI
Topic: Errors in /var/log/httpd/error_log
Replies: 5
Views: 125

Errors in /var/log/httpd/error_log

We are seeing a ton of these errors (2100+ today alone) in /var/log/httpd/error_log (and this seems to have been going on for quite a while): Undefined variable: searchstring in /usr/local/nagiosxi/html/includes/utils-menu.inc.php on line 1741, referer: http://nagios.redacted.com/nagiosxi/index.php?...
by highness
Mon May 15, 2017 9:45 am
Forum: Nagios XI
Topic: Multiple calls to API with applyconfig=1
Replies: 5
Views: 137

Re: Multiple calls to API with applyconfig=1

My major concern with limiting apply configs is that what if you are spinning up two different machines and they both need to run apply config. You need them both to run. Maybe I'm misunderstanding exactly what you want to do though. My script typically does wait until the last host has been added ...
by highness
Thu May 11, 2017 4:28 pm
Forum: Nagios XI
Topic: Multiple calls to API with applyconfig=1
Replies: 5
Views: 137

Multiple calls to API with applyconfig=1

I'm working to automate the addition of hosts in Nagios when we stand them up in Ansible. While I was testing the scripts in development, I called the API several times with the applyconfig=1 parameter by mistake. Because it was in the test environment, it wasn't a big deal, but was curious to find ...
by highness
Sat Apr 08, 2017 12:45 am
Forum: Nagios XI
Topic: URGENT: Database can't recover
Replies: 2
Views: 438

Re: URGENT: Database can't recover

Please go ahead and close this ticket.

Yes, I am the one who has the ticket opened with you.
by highness
Thu Apr 06, 2017 3:10 pm
Forum: Nagios XI
Topic: URGENT: Database can't recover
Replies: 2
Views: 438

URGENT: Database can't recover

We're seeing a bunch of these in the MySQL log: 170406 11:45:39 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './nagios/nagios_customvariablestatus.MYI'; try to repair it but when I try to repair the offloaded database, I get this: root@fe1.nagios (Linux) $ mysqlcheck -f -r -u root -pSho...
by highness
Thu Feb 02, 2017 4:18 pm
Forum: Nagios XI
Topic: Nagios XI MySQL export query help
Replies: 2
Views: 104

Re: Nagios XI MySQL export query help

Understood that this isn't a normal support question, but I am *VERY* appreciative for the assist, Trevor.

Please feel free to lock this topic.
by highness
Tue Jan 31, 2017 12:11 pm
Forum: Nagios XI
Topic: Nagios XI MySQL export query help
Replies: 2
Views: 104

Nagios XI MySQL export query help

Had a business unit request a CSV export of all of our hosts, their respective services as well as the command arguments in MySQL. The query works well and looks like this: select a.alias, b.display_name, b.check_command_args from nagios.nagios_hosts a, nagios.nagios_services b where ((a.host_object...
by highness
Thu Oct 27, 2016 11:16 am
Forum: Nagios XI
Topic: Scheduled report PDF
Replies: 14
Views: 274

Re: Scheduled report PDF

We've been having this issue for a while as well.