Search found 79 matches

by cbeattie-unitrends
Tue Sep 17, 2024 9:17 am
Forum: Nagios Fusion
Topic: Health Summary dashlets
Replies: 1
Views: 2580

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...
by cbeattie-unitrends
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: 1441

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_...
by cbeattie-unitrends
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: 1441

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...
by cbeattie-unitrends
Tue Aug 27, 2024 12:03 pm
Forum: Nagios XI
Topic: Can't upgrade XI past 2024R1.1.2
Replies: 1
Views: 907

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...
by cbeattie-unitrends
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: 1441

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 ...
by cbeattie-unitrends
Tue May 28, 2024 8:52 am
Forum: Nagios XI
Topic: AWS AMI mysqld/mariadb
Replies: 5
Views: 1563

Re: AWS AMI mysqld/mariadb

The AWS instance is currently Nagios XI 2024R1.1.2, but I think this AMI installs the latest version of Nagios XI on itself on first boot, from looking at the package transaction history. Maybe latest? I'm not sure how it got nagiosxi-deps 1.1.1 when XI is 1.1.2. Either way, no 2024 version of XI ex...
by cbeattie-unitrends
Fri May 24, 2024 9:03 am
Forum: Nagios XI
Topic: AWS AMI mysqld/mariadb
Replies: 5
Views: 1563

Re: AWS AMI mysqld/mariadb

I followed the docs (https://assets.nagios.com/downloads/nagiosxi/docs/Using-Nagios-XI-In-Amazon-EC2-Cloud.pdf) and stood up a new instance using the CentOS Stream 9 AMI whose owner was 766915741798. Then I followed the Nagios XI 2024+ backup/restore docs (https://nagiosenterprises.my.site.com/suppo...
by cbeattie-unitrends
Wed May 22, 2024 10:20 am
Forum: Nagios XI
Topic: AWS AMI mysqld/mariadb
Replies: 5
Views: 1563

AWS AMI mysqld/mariadb

Hello, I have successfully migrated a Nagios XI instance in AWS from the old CentOS 7 AMI to the CentOS Stream 9 AMI (it's the only one with owner 766915741798). I have just one question about it. The new instance appears to have MySQL installed instead of MariaDB: # rpm -qa | grep -E 'maria|mysql' ...
by cbeattie-unitrends
Mon Oct 25, 2021 8:30 am
Forum: Nagios XI
Topic: NDO-3 problem
Replies: 13
Views: 2060

Re: NDO-3 problem

Hello, It looks like another one of the database tables has disappeared. Over the weekend, the Nagios instance with the external database (the same one we just fixed) stopped. I looked at the log file and it appears to have lost connection to the external database: [1635128468] GLOBAL SERVICE EVENT ...
by cbeattie-unitrends
Thu Oct 14, 2021 1:08 pm
Forum: Nagios XI
Topic: NDO-3 problem
Replies: 13
Views: 2060

Re: NDO-3 problem

That seems to have done the trick. I haven't seen any complaints from NDO-3 in nagios.log since recreating the nagios_notifications table. [root@********~]# mysql -h ********-uroot -p'********' -e "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB'...