Here's the code for reference -
Code: Select all
config=$1
#echo "USING CONFIG FILE: ${config}"
cd /usr/local/nagiosxi/etc/components/webinject
#pwd
./webinject.pl -c "${config}" -n
Code: Select all
config=$1
#echo "USING CONFIG FILE: ${config}"
cd /usr/local/nagiosxi/etc/components/webinject
#pwd
./webinject.pl -c "${config}" -n
Code: Select all
chown apache:nagios SLSV65ACC_Test_BOI.xml
Code: Select all
/usr/local/nagiosxi/etc/components/webinject/webinject.pl -v
Code: Select all
<useragent>WebInject Application Tester</useragent>
Code: Select all
Required Perl Modules for WebInject Engine (webinject.pl)
LWP
HTTP::Cookies
HTTP::Request::Common
Time::HiRes
Getopt::Long;
Error
XML::Parser
XML::Simple
Crypt::SSLeay*