Search found 1114 matches

by gormank
Thu Nov 17, 2022 1:41 pm
Forum: Nagios XI
Topic: Deleting files to save disk space
Replies: 1
Views: 887

Re: Deleting files to save disk space

Look at the nagios logrotate config in /etc/logrotate.d
Look at files in /usr/local/nagios/var and/or /usr/local/nagiosxi/var for logs that aren't rotated or kept too long.
Create another logrotate file and add rules from what you found above.
by gormank
Thu Nov 17, 2022 12:06 pm
Forum: Nagios Log Server
Topic: Lost server from cluster
Replies: 2
Views: 1699

Re: Lost server from cluster

To show the join a cluster page, remove the installed file and restart the host.
# rm /var/www/html/nagioslogserver/application/cache/installed
by gormank
Thu Nov 17, 2022 12:04 pm
Forum: Nagios Log Server
Topic: Unable to upgrade Log Server 2.1.10 "Illegal instruction"
Replies: 7
Views: 2825

Re: Unable to upgrade Log Server 2.1.10 "Illegal instruction

./upgrade: line 39: 613624 Illegal instruction (core dumped) wget "$assets$pkgname"

Maybe edit the script and add
echo "\n\n$assets$pkgname\n\n"
On line 38
by gormank
Thu Nov 17, 2022 11:56 am
Forum: Nagios XI
Topic: Windows Load Avg
Replies: 1
Views: 716

Re: Windows Load Avg

Have you tried the exchange? It looks line none of the agents have a built in load check.

https://exchange.nagios.org/directory/P ... e-and-Load
by gormank
Thu Nov 17, 2022 11:52 am
Forum: Nagios XI
Topic: SSH as Root
Replies: 4
Views: 8774

Re: SSH as Root

sudo grep -i root /etc/ssh/sshd_config | grep -v ^#
PermitRootLogin no
by gormank
Thu Nov 17, 2022 11:45 am
Forum: Nagios XI
Topic: Failover/DR question
Replies: 1
Views: 694

Re: Failover/DR question

I make a backup of the nagios 01 system via the backup script, scp the file to the 02 system and restore it.
You can scp or rsync the perfdats if you want that on 02.
You'll want to remove the service and host files on 02 before restoring, restore, then run th reconfigure script.
by gormank
Thu Nov 17, 2022 11:30 am
Forum: Nagios XI
Topic: Lost username
Replies: 3
Views: 10612

Re: Lost username

Log in as nagiosadmin and check users.
If the nagiosadmin password is lost, reset it.

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=<newpassword>
by gormank
Wed Nov 16, 2022 9:02 pm
Forum: Nagios Log Server
Topic: Unable to upgrade Log Server 2.1.10 "Illegal instruction"
Replies: 7
Views: 2825

Re: Unable to upgrade Log Server 2.1.10 "Illegal instruction

Why not scp the .gz file from the working NLS to the other and run the upgrade script?
by gormank
Wed Nov 16, 2022 2:24 pm
Forum: Nagios XI
Topic: Upgrade from Nagios xi 5.8.8 to 5.9.1 Fails
Replies: 6
Views: 1651

Re: Upgrade from Nagios xi 5.8.8 to 5.9.1 Fails

I guess you're new to computers and the internet...
yum install patch