running setup-linux.sh intermittently hangs

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
cjsGSB
Posts: 18
Joined: Mon Apr 08, 2019 11:34 am

running setup-linux.sh intermittently hangs

Post by cjsGSB »

Building rhel 7.4 VM's and forwarding their logs to our NagiosLS. The logs being forwarded are audit.logs and secure.logs as well as the default /
/var/log/messages using the setup-linux.sh script. What would cause the the script to hang up ? Restarting the rsyslog service does not seem to work, we need to reboot the VM to get it back. Like I mentioned it happens intermittently but enough to be an issue
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: running setup-linux.sh intermittently hangs

Post by scottwilkerson »

This is puzzling, the script is not that complicated.

Do you get any output when it hangs?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cjsGSB
Posts: 18
Joined: Mon Apr 08, 2019 11:34 am

Re: running setup-linux.sh intermittently hangs

Post by cjsGSB »

When looking at it that is correct. I will get some outputs today

0946 - CJS
Looks like the problem is a time sync issue. Once ntp is configured correctly between the forwarding VM and logserver, the script worked consistantly
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: running setup-linux.sh intermittently hangs

Post by scottwilkerson »

cjsGSB wrote:When looking at it that is correct. I will get some outputs today

0946 - CJS
Looks like the problem is a time sync issue. Once ntp is configured correctly between the forwarding VM and logserver, the script worked consistantly
Ok good, glad to hear it is resolved!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked