How to monitor azure paas db in nagios xi ?

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

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

Post by bsanjay »

Hi pbroste,
I did PM you the requested logs.

Best Regards,
bsanjay
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post by pbroste »

Hello @bsanjay

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

Perry
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

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

Post 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
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

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

Post by bsanjay »

Hi pbroste,
I did PM you the required output.

Best Regards,
bsanjay
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

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

Post 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
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post by pbroste »

Hello @bsanjay

Sent via [PM] Private Message.

Thanks,
Perry