Search found 246 matches

by jacek
Tue May 23, 2023 7:29 am
Forum: Nagios XI
Topic: Mails don't get send - SMTP connect() failed.
Replies: 4
Views: 7569

Mails don't get send - SMTP connect() failed.

Hi, after upgrading to 5.10.0 sending mails stopped working. I tried troubleshooting but without success. Our setup is very simple, smtp relay, no encryption, no authentication, things worked until the upgrade. The test email debug says that: Mailer said: [05-23-2023 12:27:40] SMTP connect() failed....
by jacek
Thu Mar 11, 2021 4:00 am
Forum: Nagios XI
Topic: DeployAgent - Raspbian/ARM bug
Replies: 1
Views: 392

DeployAgent - Raspbian/ARM bug

Hi, today I tried to deploy NCPA on an RaspberryPi, looks like the deployment script doesn't take the distro into account. It simply didn't download the package, after I manually put an package to /tmp/ncpa.deb and re-run the deployment it worked. Few things to notice: in the wizard there was no dis...
by jacek
Wed Feb 17, 2021 3:58 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

but it had if you look at the screenshots and it removed them all the time.
there was some weird issue with the DB and nothing from the UI/CCM we tried fixed it, only the update of the DB directly.

But if you have no clue why this might have happened, then we can close the case.
by jacek
Tue Feb 16, 2021 9:39 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

Looks like we fixed the issue, at least the system looks OK now. In the nagiosql.tbl_service table in localhost services, one record had the "host_name" value set to 0, and the rest had a 1, so we changed that value to a "1" and after that everything looks normal again. Any clues...
by jacek
Tue Feb 16, 2021 3:21 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

I took an second look and the host disappears from all configs as soon as I hit the save button on the CCM service management. Here is what I did: I opened an OK looking and working service 1-service-config-OK.png I changed the ARG1 to 15% and hit Save Without applying the config I opened it once ag...
by jacek
Mon Feb 15, 2021 9:27 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

This must have been an intermittent issue, after a few reboots and troubleshooting it went away, and can't recreate it anymore. But I ran into an very weird situation which I will try to describe (might be material for a separate topic unless this is an easy fix). I have a few service definitions in...
by jacek
Thu Feb 11, 2021 6:30 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

Hi, I noticed that most likely the apache:nagios user came from the Centos backup. This should be www-data:nagios, and the init script in the backup file did get that correctly. So after recovering from the Centos backup and fixing it from the script I cleaned the /usr/local/nagiosxi/tmp/ directory,...
by jacek
Wed Feb 03, 2021 11:47 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

Re: CentOS -> Ubuntu migration/upgrade issues

I did run the restore_repair script:
"I ran the recovery script and also ran the repair script"

Now I ran the upgrade from CLI as root as you asked and it ran without the errors about the access denied in mysql, but the rest is there.
I PM you the profile and the upgrade log file.

Thanks!
by jacek
Mon Feb 01, 2021 7:33 am
Forum: Nagios XI
Topic: CentOS -> Ubuntu migration/upgrade issues
Replies: 12
Views: 2055

CentOS -> Ubuntu migration/upgrade issues

Hi, I'm recently testing a migration to from CentOS 6 to Ubuntu (20.04 x86_64) on NagiosXI and I'm running into few issues during the upgrade process. Here is what I did: I created an backup on the Centos with Nagios XI (5.7.5). I installed a fresh Ubuntu 20.04, and installed Nagios 5.7.5 on it I ra...
by jacek
Mon Sep 14, 2020 8:42 am
Forum: Nagios XI
Topic: Test server automation
Replies: 5
Views: 281

Re: Test server automation

I managed to write an ugly script which: blocks mails via iptables (blocking port 25) runs the recovery script stops nagios service, sets the enable_notifications parameter in retention.dat to 0, starts nagios service sleeps 10s (time for the API/services to properly start) verifies via API if the n...