Page 3 of 4

Re: How to monitor azure paas db in nagios xi ?

Posted: Mon Oct 11, 2021 5:01 pm
by pbroste
Hello @bsanjay

Apologize for the additional leg work on this one. We are thinking that there is a dependency that is missing.

Code: Select all

yum deplist php --source > yumdeplist.txt
yum list --installed > /tmp/yuminstalledlist.txt

Code: Select all

tar -czvf /tmp/apachelogs.tar.gz /etc/httpd/
Thanks again for sending these over,
Perry

Re: How to monitor azure paas db in nagios xi ?

Posted: Tue Oct 12, 2021 2:49 am
by bsanjay
Hi pbroste,
I did PM you the requested logs.

Best Regards,
bsanjay

Re: How to monitor azure paas db in nagios xi ?

Posted: Wed Oct 13, 2021 10:34 am
by pbroste
Hello @bsanjay

Thanks for sending over the requested logs and we are reviewing them and follow up shortly.

Perry

Re: How to monitor azure paas db in nagios xi ?

Posted: Wed Oct 13, 2021 11:52 am
by pbroste
Hello @@bsanjay

We see that there is one package missing and want to go ahead and have you install it.

Code: Select all

yum -y install php-gd
Then restart the apache service:

Code: Select all

systemctl restart httpd
Follow up with the Apache logs so we can see what the service startup looks like:

Code: Select all

tar -czvf /tmp/apachelogs.tar.gz /var/log/httpd
Thanks again for sending these over,
Perry

Re: How to monitor azure paas db in nagios xi ?

Posted: Thu Oct 14, 2021 10:26 am
by bsanjay
Hi pbroste,
We installed the recommended package and restarted httpd as per your instructions but the issue did not resolve. Please find the apache logs attached in PM,

Best Regards,
bsanjay

Re: How to monitor azure paas db in nagios xi ?

Posted: Thu Oct 14, 2021 4:36 pm
by pbroste
Hello @bsanjay

We need to get the exact Nagios XI version found here: '/usr/local/nagiosxi/var/xiversion' we found that the 'utilsx file for PHP is not correct.

Code: Select all

cat /usr/local/nagiosxi/var/xiversion > /tmp/nagiosversion.txt

Code: Select all

sudo cat /etc/os-release > /tmp/versions.txt  & sudo uname -a >> /tmp/versions.txt & sudo hostnamectl >> //tmp/versions.txt & cat /etc/os-release >> /tmp/versions.txt & hostnamectl >> /tmp/versions.txt & sudo rpm -qa | grep php >> /tmp/versions.txt & sudo apt list --installed | grep php >> /tmp/versions.txt
Please send the results via Private message.

Thanks,
Perry

Re: How to monitor azure paas db in nagios xi ?

Posted: Mon Oct 18, 2021 3:27 am
by bsanjay
Hi pbroste,
I did PM you the required output.

Best Regards,
bsanjay

Re: How to monitor azure paas db in nagios xi ?

Posted: Mon Oct 18, 2021 3:45 pm
by pbroste
Hello @bsanjay

Thanks for sending over the info. Attached is the 'utilsx.inc.php' that we want to have you replace with the attached file with the following set permissions:

Code: Select all

-rwxr-xr-- nagios nagios  /usr/local/nagiosxi/html/includes/utilsx.inc.php
Bounce the services, login to the UI, and let us know the results.

Thanks,
Perry

Re: How to monitor azure paas db in nagios xi ?

Posted: Tue Oct 19, 2021 1:25 am
by bsanjay
Hi pbroste,
Did you attach the script file ? I am unable to find it. Please let me know where can i find it .

Best Regards,
bsanjay

Re: How to monitor azure paas db in nagios xi ?

Posted: Tue Oct 19, 2021 9:07 am
by pbroste
Hello @bsanjay

Sent via [PM] Private Message.

Thanks,
Perry