Open Darshanky opened 6 years ago
Hi , Used check_wls.pl , jmx.py and wls_confg file to monitor weblogic (version 14.1.1.0) in nagios XI but getting below error.
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -C -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 UNKNOWN Server1=UNKNOWN;ThreadTotCount | Server1=UNKNOWN;90;95;;
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -T -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 UNKNOWN Server1=UNKNOWN;StuckThreadCount | Server1=UNKNOWN;90;95;;
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -r -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 UNKNOWN Server1=UNKNOWN;UNKNOWN DATA; | Server1=UNKNOWN;;;;
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -o -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 UNKNOWN Server1=UNKNOWN;UNKNOWN DATA; | Server1=UNKNOWN;;;;
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -j -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 UNKNOWN Server1=UNKNOWN;UNKNOWN DATA; | Server1=UNKNOWN;;;;
[root@rhel74sree05 ~]# /usr/local/ncpa/plugins/check_wls.pl -C -L /usr/local/ncpa/etc/wls_config -w 90 -c 95 -d
Pull line > #wls_config
Pull line >
Pull line > #The hostname or IP starts out with "hst::". The last
Pull line ># instance of "hst::
Plz sugget how to fix
bash-4.1$ /usr/local/groundwork/nagios/libexec/check_by_ssh -H hostname.local -t 60 -l "edenmon" -C "libexec/check_wls.pl -R -J libexec/jmx.py -L libexec/wls_config_admin" -E
Warning: missing wlst /u01/app/oracle/product/middleware12c/oracle_common/common/bin/wlst.sh UNKNOWN1:
The new location of the file after upgrade is /u01/app/oracle/product/Oracle_BI12C/oracle_common/common/bin/wlst.sh
Can you please advise on updating new location in the script