Hello Nagios XI support
Please help with questions around monitoring Web-portals:
1) Web-Inject
- could we edit XML files already created? (for not to keep re-creating services for any minor changes)?
- In Nagios advanced class we were told that web-inject plugin used in XI is outdated / console.de plugin has to be used instead. please comment and advice how to update properly?
2) Is there any any 3rd party plugins you could recommend for generic Web-portal monitoring/transactions monitoring (logins, checks, some simple operations) ?
Thank you
WebInject questions and similar options
Re: WebInject questions and similar options
Webinject should work for both of these. Yes, you could edit the XML files created, but each test case would HAVE to work with what you choose to change.
Take a look at our exchange, to see if anything will work for you. https://exchange.nagios.org/index.php?o ... b%20inject
Take a look at our exchange, to see if anything will work for you. https://exchange.nagios.org/index.php?o ... b%20inject
Former Nagios Employee
Re: WebInject questions and similar options
How do we edit XML files?rkennedy wrote:Webinject should work for both of these. Yes, you could edit the XML files created, but each test case would HAVE to work with what you choose to change.
Take a look at our exchange, to see if anything will work for you. https://exchange.nagios.org/index.php?o ... b%20inject
- they are nowhere to be found after creation.. not by file name
Re: WebInject questions and similar options
They will probably be in /usr/local/nagiosxi/etc/components/ but check in /usr/local/nagios/libexec as well.
I can't guarantee compatibility between our wizard and the console.de plugin, you could put the check_webinject file in libexec and use it from there, you would have to create a new check_webinject command:
You could try replacing ours but it may get overwritten on upgrades:
back it up first:
If it doesn't work that way just revert the change:
I can't guarantee compatibility between our wizard and the console.de plugin, you could put the check_webinject file in libexec and use it from there, you would have to create a new check_webinject command:
Code: Select all
cd /usr/local/nagios/libexec
wget https://labs.consol.de/assets/downloads/check_webinject-1.84.tar.gz
tar zxf check_webinject-1.84.tar.gz
chmod +x check_webinjectback it up first:
Code: Select all
cp /usr/local/nagiosxi/etc/components/webinject/webinject.pl /usr/local/nagiosxi/etc/components/webinject/webinject.pl.bak
cd /usr/local/nagiosxi/etc/components/webinject
wget https://labs.consol.de/assets/downloads/check_webinject-1.84.tar.gz
tar zxf check_webinject-1.84.tar.gz
mv check_webinject webinject.pl
chmod +x webinject.plCode: Select all
cp /usr/local/nagiosxi/etc/components/webinject/webinject.pl.bak /usr/local/nagiosxi/etc/components/webinject/webinject.plRe: WebInject questions and similar options
It probably makes sense to use it renamed as custom command.ssax wrote:They will probably be in /usr/local/nagiosxi/etc/components/ but check in /usr/local/nagios/libexec as well.
I can't guarantee compatibility between our wizard and the console.de plugin, you could put the check_webinject file in libexec and use it from there, you would have to create a new check_webinject command:
You could try replacing ours but it may get overwritten on upgrades:Code: Select all
cd /usr/local/nagios/libexec wget https://labs.consol.de/assets/downloads/check_webinject-1.84.tar.gz tar zxf check_webinject-1.84.tar.gz chmod +x check_webinject
back it up first:
If it doesn't work that way just revert the change:Code: Select all
cp /usr/local/nagiosxi/etc/components/webinject/webinject.pl /usr/local/nagiosxi/etc/components/webinject/webinject.pl.bak cd /usr/local/nagiosxi/etc/components/webinject wget https://labs.consol.de/assets/downloads/check_webinject-1.84.tar.gz tar zxf check_webinject-1.84.tar.gz mv check_webinject webinject.pl chmod +x webinject.pl
Code: Select all
cp /usr/local/nagiosxi/etc/components/webinject/webinject.pl.bak /usr/local/nagiosxi/etc/components/webinject/webinject.pl
- how to create a command properly if I am to copy 1.84 as 'check_webinject_custom.pl' ?
- would this be 1 command per XML case?
found XML files, thank you
Re: WebInject questions and similar options
Just upload the file to your libexec directory, and then use the CCM to create a command.
Yes, one command per XML case.
Yes, one command per XML case.
Former Nagios Employee
Re: WebInject questions and similar options
rkennedy wrote:Just upload the file to your libexec directory, and then use the CCM to create a command.
Yes, one command per XML case.
Thank you
Please close this thread