Search found 84 matches
- Wed Feb 12, 2025 11:07 am
- Forum: Nagios XI
- Topic: AWS AMI mysqld/mariadb
- Replies: 6
- Views: 4189
Re: AWS AMI mysqld/mariadb
I figured out what was happening here. An xi-sys.cfg file contained the line mysqld='mariadb' . I suspect it was carried over from the Nagios XI backup made from the previous installation on CentOS 7 somehow. There were five instances of xi-sys.cfg containing that line: # find / | grep xi-sys.cfg /t...
- Wed Feb 12, 2025 10:05 am
- Forum: Nagios XI
- Topic: Can't upgrade XI past 2024R1.1.2
- Replies: 3
- Views: 3740
Re: Can't upgrade XI past 2024R1.1.2
Even though I waited for more releases, I wasn't able to upgrade to any of them. However, I was eventually able to figure it out. It was the same core problem that the offline and RHEL8 users had: a missing nagiosxi-deps package. I can't remember whether I actually found it in an upgrade or offline ...
- Tue Dec 10, 2024 4:41 pm
- Forum: Nagios Fusion
- Topic: Something went wrong adding server
- Replies: 6
- Views: 74931
Re: Something went wrong adding server
Since the stakes were pretty low, I tried just banging the Nagios box back into Fusion manually. I logged in to the MariaDB client, looked at the servers table, copied the column names, and made an insert statement with the values from the Nagios box I was trying to add back in. It seems to have wor...
- Fri Dec 06, 2024 9:49 am
- Forum: Nagios Fusion
- Topic: Something went wrong adding server
- Replies: 6
- Views: 74931
Re: Something went wrong adding server
I'm running it on CentOS Stream 9.
- Thu Dec 05, 2024 5:35 pm
- Forum: Nagios Fusion
- Topic: Something went wrong adding server
- Replies: 6
- Views: 74931
Something went wrong adding server
Hello, I recently did some troubleshooting where I removed a Nagios XI instance from Fusion. However, when I tried to add it back to Fusion, I got an error message: "Something went wrong adding server." The Nagios XI box is fine. Running curl -L -vvv https://<<nagios xi url>>/nagiosxi/api/...
- Tue Sep 17, 2024 9:17 am
- Forum: Nagios Fusion
- Topic: Health Summary dashlets
- Replies: 4
- Views: 73293
Health Summary dashlets
Hello, It looks like the Problems/Unhandled column numbers are added together and stacked vertically on the graph in the Service Health Summary dashlet (I assume the code in the Host Health Summary might do the same thing). But if I understand them correctly, then Unhandled should be overlaid on top...
- Thu Aug 29, 2024 1:24 pm
- Forum: Nagios XI
- Topic: Can't add hosts via API, but adding them in web UI works
- Replies: 4
- Views: 3127
Re: Can't add hosts via API, but adding them in web UI works
To add some more to it, as far as I can tell, the database tables are in good shape: [root@nagios ~]# db_user='root'; db_host='localhost'; db_pass=$(/usr/local/nagiosxi/scripts/get_mysql_passwords.sh | awk 'NR==1 {print $4}') [root@nagios ~]# mysqlcheck --force --check --host=${db_host} --user=${db_...
- Thu Aug 29, 2024 11:10 am
- Forum: Nagios XI
- Topic: Can't add hosts via API, but adding them in web UI works
- Replies: 4
- Views: 3127
Re: Can't add hosts via API, but adding them in web UI works
Here's the code: $irm = @{ Method = "Post" Uri = "$($nagios.url)config/host?apikey=$($nagios.password)" Body = "host_name=$target&address=$($dns.Name)&use=generic-host&hostgroups=replication-targets&force=1" ErrorAction = 'Stop' } try { Invoke-RestMethod...
- Tue Aug 27, 2024 12:03 pm
- Forum: Nagios XI
- Topic: Can't upgrade XI past 2024R1.1.2
- Replies: 3
- Views: 3740
Can't upgrade XI past 2024R1.1.2
Hello, I have a Nagios XI 2024R1.1.2 instance (on CentOS Stream 9 x64) that's giving me trouble when trying to upgrade it. I've always used the Quick or Manual instructions from this PDF and I don't recall having problems like this before. If I follow the quick instructions, the upgrade starts but t...
- Tue Aug 27, 2024 11:50 am
- Forum: Nagios XI
- Topic: Can't add hosts via API, but adding them in web UI works
- Replies: 4
- Views: 3127
Can't add hosts via API, but adding them in web UI works
Hello, I have one Nagios XI instance which has stopped adding new hosts via the API. However, adding them manually in the web UI works fine, and after manually adding them the API works just fine to remove them. The API results show success, whether it's a new target or trying to add a target which ...