Nagios BPI 2.8.0 version
Nagios BPI 2.8.0 version
Hello everybody,
after upgrading my PHP version to 7.2 on my Nagios XI 5.6.1 server i've noticed that the "check_bpi.php" often reach the 60s timeout during the 'Apply Configuration' process (due to the database unavailability).
This issue was not present with PHP 5.4 and the previous Nagios BPI component version (2.8.0). I don't think (i hope) this is related to the PHP upgrade as this should have speed up in general the php scripts execution.
I'd like to downgrade to the previous version of BPI ma i cannot find anywhere the 2.8.0 zip file. Could you kindly share with me the zip file or the link to download it?
Regards
Francesco
after upgrading my PHP version to 7.2 on my Nagios XI 5.6.1 server i've noticed that the "check_bpi.php" often reach the 60s timeout during the 'Apply Configuration' process (due to the database unavailability).
This issue was not present with PHP 5.4 and the previous Nagios BPI component version (2.8.0). I don't think (i hope) this is related to the PHP upgrade as this should have speed up in general the php scripts execution.
I'd like to downgrade to the previous version of BPI ma i cannot find anywhere the 2.8.0 zip file. Could you kindly share with me the zip file or the link to download it?
Regards
Francesco
Re: Nagios BPI 2.8.0 version
Hi Francesco,
Per the documentation: Did you get errors in the browser? If so please send me a screenshot of them.
Please send me /usr/local/nagiosxi/var/components/bpi.log if it exists.
And finally please send me the output of:
Thanks
Per the documentation: Did you get errors in the browser? If so please send me a screenshot of them.
Please send me /usr/local/nagiosxi/var/components/bpi.log if it exists.
And finally please send me the output of:
Code: Select all
/usr/local/nagios/libexec//check_esx3.pl -hYou do not have the required permissions to view the files attached to this post.
Re: Nagios BPI 2.8.0 version
Hello gsmith,
the bpi.log is empty, it simply contains :
"BEGIN BPI LOG 1568214288"
about running the script "/usr/local/nagios/libexec/check_esx3.pl -h" i'm not sure what would you like me to verify..if i run the check i get back the help.
Coming back to the BPI component, i'd like to stress the fact that it's fully working, the only issue i'm experiencing some times is that the check_cpi.php (which verify the status of a BPI group) is going in timeout during the Apply Configuration process.
I've read the documentation and i know that for Nagios XI there is a particular procedure avoiding to break the component: in my test environment i have version 2.8.0 installed and if i'm not wrong it was provided by the support some times ago... but i cannot find anymore the zip files and i'd like to install this version in my production env.
Regards
Francesco
the bpi.log is empty, it simply contains :
"BEGIN BPI LOG 1568214288"
about running the script "/usr/local/nagios/libexec/check_esx3.pl -h" i'm not sure what would you like me to verify..if i run the check i get back the help.
Coming back to the BPI component, i'd like to stress the fact that it's fully working, the only issue i'm experiencing some times is that the check_cpi.php (which verify the status of a BPI group) is going in timeout during the Apply Configuration process.
I've read the documentation and i know that for Nagios XI there is a particular procedure avoiding to break the component: in my test environment i have version 2.8.0 installed and if i'm not wrong it was provided by the support some times ago... but i cannot find anymore the zip files and i'd like to install this version in my production env.
Regards
Francesco
Re: Nagios BPI 2.8.0 version
Hi
I am having trouble finding a 2.8.0 download, but will keep looking. In the meantime
could you answer these questions please:
1. The version of XI that you are running came with BPI 2.8.0,
so please check the BPI component in the Admin > Manage Components menu.
It'll be under Core Components.
2. When you say:
Thanks
3. Can you update your XI ? There were improvements made in later versions for BPI ?
Thanks
I am having trouble finding a 2.8.0 download, but will keep looking. In the meantime
could you answer these questions please:
1. The version of XI that you are running came with BPI 2.8.0,
so please check the BPI component in the Admin > Manage Components menu.
It'll be under Core Components.
2. When you say:
What do you mean "due to database unavailability" ?i've noticed that the "check_bpi.php" often reach the 60s timeout during the 'Apply Configuration' process (due to the database
unavailability)
Thanks
3. Can you update your XI ? There were improvements made in later versions for BPI ?
Thanks
Re: Nagios BPI 2.8.0 version
Hello gsmith,
currently i'm not able to upgrade my Nagios XI, i have a very large installation with some customizations and it's a medium term project.
Yes i know that the default version is the 2.8.0 but as i wrote you i upgraded to 2.8.1 on Nagios support suggestion to fix some issues (i don't remember exactly now the details).
When the 'Apply Configuration' runs the database is rewritten with the updated configuration so it's unavailable for a a period of time. In the check_bpi.php script this is managed with a specific timeout for the NDO utils set to 60s, but on my installation this timeout is reached i i cannot increase it as the Nagios scripts timeout (nagios.cfg) is set to 60s...so it will be unusefull. With the old BPI version (2.8.0) i didn't have this issue.
regards
Francesco
currently i'm not able to upgrade my Nagios XI, i have a very large installation with some customizations and it's a medium term project.
Yes i know that the default version is the 2.8.0 but as i wrote you i upgraded to 2.8.1 on Nagios support suggestion to fix some issues (i don't remember exactly now the details).
When the 'Apply Configuration' runs the database is rewritten with the updated configuration so it's unavailable for a a period of time. In the check_bpi.php script this is managed with a specific timeout for the NDO utils set to 60s, but on my installation this timeout is reached i i cannot increase it as the Nagios scripts timeout (nagios.cfg) is set to 60s...so it will be unusefull. With the old BPI version (2.8.0) i didn't have this issue.
regards
Francesco
Re: Nagios BPI 2.8.0 version
Hi
Attached please find bpi.tar.gz. I extracted it from the xi-5.6.1.tar.gz.
Since you have done this before I am hoping you know how to get this installed.
If not please let me know and I can talk to our Dev team.
Thanks
Attached please find bpi.tar.gz. I extracted it from the xi-5.6.1.tar.gz.
Since you have done this before I am hoping you know how to get this installed.
If not please let me know and I can talk to our Dev team.
Thanks
You do not have the required permissions to view the files attached to this post.
Re: Nagios BPI 2.8.0 version
Hello gsmith,
thanks a lot for the bpi component file!
With the tar.gz file i don't know how to re-install the component.....yes i need some more details...
Thanks
Francesco
thanks a lot for the bpi component file!
With the tar.gz file i don't know how to re-install the component.....yes i need some more details...
Thanks
Francesco
Re: Nagios BPI 2.8.0 version
Hi
Put the bpi.tar.gz file in /tmp
You should now have a nagiosbpi directory in /tmp
Please restart httpd and nagios, and test it out.
Thanks
Put the bpi.tar.gz file in /tmp
Code: Select all
tar xzvf bpi.tar.gzCode: Select all
mv /usr/local/nagiosxi/html/includes/components/nagiosbpi /usr/local/nagiosxi/html/includes/components/nagiosbpi.28jul2021
cp -rp /tmp/nagiosbpi /usr/local/nagiosxi/html/includes/components/nagiosbpi
chown -R nagios:nagios /usr/local/nagiosxi/html/includes/components/nagiosbpi Thanks
Re: Nagios BPI 2.8.0 version
Thanks gsmith,
it was so simple!
I confirm it works!
Francesco
it was so simple!
I confirm it works!
Francesco
Re: Nagios BPI 2.8.0 version
Awesome!
Have a good weekend.
Have a good weekend.