Installing VMWARE sdk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Installing VMWARE sdk

Post by sneha.irali »

issue remains the same below is the output:

[root@CH-S_TGINAG01 tmp]# wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/ libwww-perl-5.837.tar.gz
--2021-07-24 19:55:42-- http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww -perl-5.837.tar.gz
Resolving proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)... 136.228.209.51, 1 36.228.209.43, 136.228.220.153, ...
Connecting to proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)|136.228.209.51|: 8082... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://cpan.metacpan.org/authors/id/G/ ... .837.tar.g z [following]
--2021-07-24 19:55:42-- https://cpan.metacpan.org/authors/id/G/GA/GAAS/libwww-p erl-5.837.tar.gz
Connecting to proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)|136.228.209.51|: 8082... connected.
ERROR: cannot verify cpan.metacpan.org's certificate, issued by ‘/C=CH/L=Zurich/ O=ABB Information Systems Ltd/OU=Secure Web Gateway Services/CN=ABB SWG iBoss CA 00/emailAddress=[email protected]’:
Unable to locally verify the issuer's authority.
To connect to cpan.metacpan.org insecurely, use `--no-check-certificate'.
[root@CH-S_TGINAG01 tmp]# wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/ libwww-perl-5.837.tar.gz --no-check-certificate
--2021-07-24 19:55:57-- http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww -perl-5.837.tar.gz
Resolving proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)... 136.228.211.49, 1 36.228.236.32, 136.228.209.43, ...
Connecting to proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)|136.228.211.49|: 8082... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://cpan.metacpan.org/authors/id/G/ ... .837.tar.g z [following]
--2021-07-24 19:55:58-- https://cpan.metacpan.org/authors/id/G/GA/GAAS/libwww-p erl-5.837.tar.gz
Connecting to proxy-swg-geolb.abb.com (proxy-swg-geolb.abb.com)|136.228.211.49|: 8082... connected.
Proxy request sent, awaiting response... 200 OK
Length: 270223 (264K) [application/x-gzip]
Saving to: ‘libwww-perl-5.837.tar.gz’

100%[======================================>] 270,223 --.-K/s in 0.05s

2021-07-24 19:55:58 (5.32 MB/s) - ‘libwww-perl-5.837.tar.gz’ saved [270223/27022 3]

[root@CH-S_TGINAG01 tmp]# ls
libwww-perl-5.837.tar.gz
memcalc
systemd-private-21094e11c3724121af1c653a6e09be6a-chronyd.service-ybDD44
systemd-private-21094e11c3724121af1c653a6e09be6a-httpd.service-MkPR8F
systemd-private-21094e11c3724121af1c653a6e09be6a-mariadb.service-QrF4QQ
systemd-private-264918ea4de5479aaa2bb06e3f72821c-chronyd.service-dzD5cX
systemd-private-264918ea4de5479aaa2bb06e3f72821c-httpd.service-dP65fj
systemd-private-264918ea4de5479aaa2bb06e3f72821c-mariadb.service-ByNbS0
systemd-private-6d1e3925fcaf43eca7005e1ee58977eb-chronyd.service-axTZPM
systemd-private-6d1e3925fcaf43eca7005e1ee58977eb-httpd.service-Am1vCA
systemd-private-6d1e3925fcaf43eca7005e1ee58977eb-mariadb.service-sod0Nq
vmware-vsphere-cli-distrib
[root@CH-S_TGINAG01 tmp]# tar xvfz libwww-perl-5.837.tar.gz
libwww-perl-5.837/
libwww-perl-5.837/AUTHORS
libwww-perl-5.837/bin/
libwww-perl-5.837/Changes
libwww-perl-5.837/lib/
libwww-perl-5.837/lwpcook.pod
libwww-perl-5.837/lwptut.pod
libwww-perl-5.837/Makefile.PL
libwww-perl-5.837/MANIFEST
libwww-perl-5.837/META.yml
libwww-perl-5.837/README
libwww-perl-5.837/README.SSL
libwww-perl-5.837/t/
libwww-perl-5.837/talk-to-ourself
libwww-perl-5.837/t/base/
libwww-perl-5.837/t/html/
libwww-perl-5.837/t/live/
libwww-perl-5.837/t/local/
libwww-perl-5.837/t/net/
libwww-perl-5.837/t/README
libwww-perl-5.837/t/robot/
libwww-perl-5.837/t/TEST
libwww-perl-5.837/t/robot/rules-dbm.t
libwww-perl-5.837/t/robot/rules.t
libwww-perl-5.837/t/robot/ua-get.t
libwww-perl-5.837/t/robot/ua.t
libwww-perl-5.837/t/net/cgi-bin/
libwww-perl-5.837/t/net/config.pl.dist
libwww-perl-5.837/t/net/http-get.t
libwww-perl-5.837/t/net/http-post.t
libwww-perl-5.837/t/net/http-timeout.t
libwww-perl-5.837/t/net/mirror.t
libwww-perl-5.837/t/net/moved.t
libwww-perl-5.837/t/net/proxy.t
libwww-perl-5.837/t/net/cgi-bin/moved
libwww-perl-5.837/t/net/cgi-bin/nph-slowdata
libwww-perl-5.837/t/net/cgi-bin/slowread
libwww-perl-5.837/t/net/cgi-bin/test
libwww-perl-5.837/t/net/cgi-bin/timeout
libwww-perl-5.837/t/local/autoload-get.t
libwww-perl-5.837/t/local/autoload.t
libwww-perl-5.837/t/local/chunked.t
libwww-perl-5.837/t/local/get.t
libwww-perl-5.837/t/local/http.t
libwww-perl-5.837/t/local/protosub.t
libwww-perl-5.837/t/live/apache-listing.t
libwww-perl-5.837/t/live/apache.t
libwww-perl-5.837/t/live/https.t
libwww-perl-5.837/t/live/jigsaw-auth-b.t
libwww-perl-5.837/t/live/jigsaw-auth-d.t
libwww-perl-5.837/t/live/jigsaw-chunk.t
libwww-perl-5.837/t/live/jigsaw-md5-get.t
libwww-perl-5.837/t/live/jigsaw-md5.t
libwww-perl-5.837/t/live/jigsaw-neg-get.t
libwww-perl-5.837/t/live/jigsaw-neg.t
libwww-perl-5.837/t/live/jigsaw-te.t
libwww-perl-5.837/t/html/form-maxlength.t
libwww-perl-5.837/t/html/form-multi-select.t
libwww-perl-5.837/t/html/form-param.t
libwww-perl-5.837/t/html/form-selector.t
libwww-perl-5.837/t/html/form.t
libwww-perl-5.837/t/base/common-req.t
libwww-perl-5.837/t/base/cookies.t
libwww-perl-5.837/t/base/date.t
libwww-perl-5.837/t/base/headers-auth.t
libwww-perl-5.837/t/base/headers-etag.t
libwww-perl-5.837/t/base/headers-util.t
libwww-perl-5.837/t/base/headers.t
libwww-perl-5.837/t/base/http-config.t
libwww-perl-5.837/t/base/http.t
libwww-perl-5.837/t/base/listing.t
libwww-perl-5.837/t/base/mediatypes.t
libwww-perl-5.837/t/base/message-charset.t
libwww-perl-5.837/t/base/message-old.t
libwww-perl-5.837/t/base/message-parts.t
libwww-perl-5.837/t/base/message.t
libwww-perl-5.837/t/base/negotiate.t
libwww-perl-5.837/t/base/protocols.t
libwww-perl-5.837/t/base/request.t
libwww-perl-5.837/t/base/response.t
libwww-perl-5.837/t/base/status-old.t
libwww-perl-5.837/t/base/status.t
libwww-perl-5.837/t/base/ua.t
libwww-perl-5.837/lib/Bundle/
libwww-perl-5.837/lib/File/
libwww-perl-5.837/lib/HTML/
libwww-perl-5.837/lib/HTTP/
libwww-perl-5.837/lib/LWP/
libwww-perl-5.837/lib/LWP.pm
libwww-perl-5.837/lib/Net/
libwww-perl-5.837/lib/WWW/
libwww-perl-5.837/lib/WWW/RobotRules/
libwww-perl-5.837/lib/WWW/RobotRules.pm
libwww-perl-5.837/lib/WWW/RobotRules/AnyDBM_File.pm
libwww-perl-5.837/lib/Net/HTTP/
libwww-perl-5.837/lib/Net/HTTP.pm
libwww-perl-5.837/lib/Net/HTTPS.pm
libwww-perl-5.837/lib/Net/HTTP/Methods.pm
libwww-perl-5.837/lib/Net/HTTP/NB.pm
libwww-perl-5.837/lib/LWP/Authen/
libwww-perl-5.837/lib/LWP/ConnCache.pm
libwww-perl-5.837/lib/LWP/Debug.pm
libwww-perl-5.837/lib/LWP/DebugFile.pm
libwww-perl-5.837/lib/LWP/media.types
libwww-perl-5.837/lib/LWP/MediaTypes.pm
libwww-perl-5.837/lib/LWP/MemberMixin.pm
libwww-perl-5.837/lib/LWP/Protocol/
libwww-perl-5.837/lib/LWP/Protocol.pm
libwww-perl-5.837/lib/LWP/RobotUA.pm
libwww-perl-5.837/lib/LWP/Simple.pm
libwww-perl-5.837/lib/LWP/UserAgent.pm
libwww-perl-5.837/lib/LWP/Protocol/cpan.pm
libwww-perl-5.837/lib/LWP/Protocol/data.pm
libwww-perl-5.837/lib/LWP/Protocol/file.pm
libwww-perl-5.837/lib/LWP/Protocol/ftp.pm
libwww-perl-5.837/lib/LWP/Protocol/GHTTP.pm
libwww-perl-5.837/lib/LWP/Protocol/gopher.pm
libwww-perl-5.837/lib/LWP/Protocol/http.pm
libwww-perl-5.837/lib/LWP/Protocol/http10.pm
libwww-perl-5.837/lib/LWP/Protocol/https.pm
libwww-perl-5.837/lib/LWP/Protocol/https10.pm
libwww-perl-5.837/lib/LWP/Protocol/loopback.pm
libwww-perl-5.837/lib/LWP/Protocol/mailto.pm
libwww-perl-5.837/lib/LWP/Protocol/nntp.pm
libwww-perl-5.837/lib/LWP/Protocol/nogo.pm
libwww-perl-5.837/lib/LWP/Authen/Basic.pm
libwww-perl-5.837/lib/LWP/Authen/Digest.pm
libwww-perl-5.837/lib/LWP/Authen/Ntlm.pm
libwww-perl-5.837/lib/HTTP/Config.pm
libwww-perl-5.837/lib/HTTP/Cookies/
libwww-perl-5.837/lib/HTTP/Cookies.pm
libwww-perl-5.837/lib/HTTP/Daemon.pm
libwww-perl-5.837/lib/HTTP/Date.pm
libwww-perl-5.837/lib/HTTP/Headers/
libwww-perl-5.837/lib/HTTP/Headers.pm
libwww-perl-5.837/lib/HTTP/Message.pm
libwww-perl-5.837/lib/HTTP/Negotiate.pm
libwww-perl-5.837/lib/HTTP/Request/
libwww-perl-5.837/lib/HTTP/Request.pm
libwww-perl-5.837/lib/HTTP/Response.pm
libwww-perl-5.837/lib/HTTP/Status.pm
libwww-perl-5.837/lib/HTTP/Request/Common.pm
libwww-perl-5.837/lib/HTTP/Headers/Auth.pm
libwww-perl-5.837/lib/HTTP/Headers/ETag.pm
libwww-perl-5.837/lib/HTTP/Headers/Util.pm
libwww-perl-5.837/lib/HTTP/Cookies/Microsoft.pm
libwww-perl-5.837/lib/HTTP/Cookies/Netscape.pm
libwww-perl-5.837/lib/HTML/Form.pm
libwww-perl-5.837/lib/File/Listing.pm
libwww-perl-5.837/lib/Bundle/LWP.pm
libwww-perl-5.837/bin/lwp-download
libwww-perl-5.837/bin/lwp-dump
libwww-perl-5.837/bin/lwp-mirror
libwww-perl-5.837/bin/lwp-request
libwww-perl-5.837/bin/lwp-rget
[root@CH-S_TGINAG01 tmp]# cd libwww-perl-5.837
[root@CH-S_TGINAG01 libwww-perl-5.837]# perl Makefile.PL -l
Checking if your kit is complete...
Looks good
Writing Makefile for LWP
Writing MYMETA.yml and MYMETA.json
You have mail in /var/spool/mail/root
[root@CH-S_TGINAG01 libwww-perl-5.837]# make
cp lib/LWP/RobotUA.pm blib/lib/LWP/RobotUA.pm
cp lib/LWP/Authen/Ntlm.pm blib/lib/LWP/Authen/Ntlm.pm
cp lib/LWP.pm blib/lib/LWP.pm
cp lib/HTTP/Headers/ETag.pm blib/lib/HTTP/Headers/ETag.pm
cp lib/LWP/Protocol.pm blib/lib/LWP/Protocol.pm
cp lwptut.pod blib/lib/lwptut.pod
cp lib/HTTP/Request/Common.pm blib/lib/HTTP/Request/Common.pm
cp lib/HTTP/Message.pm blib/lib/HTTP/Message.pm
cp lib/LWP/Protocol/ftp.pm blib/lib/LWP/Protocol/ftp.pm
cp lib/HTML/Form.pm blib/lib/HTML/Form.pm
cp lib/HTTP/Cookies/Netscape.pm blib/lib/HTTP/Cookies/Netscape.pm
cp lib/LWP/Authen/Digest.pm blib/lib/LWP/Authen/Digest.pm
cp lib/LWP/Protocol/gopher.pm blib/lib/LWP/Protocol/gopher.pm
cp lib/Net/HTTP/NB.pm blib/lib/Net/HTTP/NB.pm
cp lib/HTTP/Status.pm blib/lib/HTTP/Status.pm
cp lib/LWP/Protocol/cpan.pm blib/lib/LWP/Protocol/cpan.pm
cp lib/Net/HTTPS.pm blib/lib/Net/HTTPS.pm
cp lib/HTTP/Headers/Util.pm blib/lib/HTTP/Headers/Util.pm
cp lib/LWP/Authen/Basic.pm blib/lib/LWP/Authen/Basic.pm
cp lib/HTTP/Cookies/Microsoft.pm blib/lib/HTTP/Cookies/Microsoft.pm
cp lib/LWP/UserAgent.pm blib/lib/LWP/UserAgent.pm
cp lib/LWP/Protocol/nntp.pm blib/lib/LWP/Protocol/nntp.pm
cp lib/LWP/Protocol/loopback.pm blib/lib/LWP/Protocol/loopback.pm
cp lib/LWP/Protocol/mailto.pm blib/lib/LWP/Protocol/mailto.pm
cp lib/LWP/Protocol/https10.pm blib/lib/LWP/Protocol/https10.pm
cp lib/LWP/Protocol/http.pm blib/lib/LWP/Protocol/http.pm
cp lib/LWP/MemberMixin.pm blib/lib/LWP/MemberMixin.pm
cp lib/LWP/Debug.pm blib/lib/LWP/Debug.pm
cp lib/HTTP/Headers/Auth.pm blib/lib/HTTP/Headers/Auth.pm
cp lib/Net/HTTP.pm blib/lib/Net/HTTP.pm
cp lib/LWP/media.types blib/lib/LWP/media.types
cp lib/HTTP/Daemon.pm blib/lib/HTTP/Daemon.pm
cp lib/HTTP/Cookies.pm blib/lib/HTTP/Cookies.pm
cp lib/LWP/ConnCache.pm blib/lib/LWP/ConnCache.pm
cp lib/File/Listing.pm blib/lib/File/Listing.pm
cp lib/WWW/RobotRules/AnyDBM_File.pm blib/lib/WWW/RobotRules/AnyDBM_File.pm
cp lib/LWP/MediaTypes.pm blib/lib/LWP/MediaTypes.pm
cp lwpcook.pod blib/lib/lwpcook.pod
cp lib/HTTP/Date.pm blib/lib/HTTP/Date.pm
cp lib/LWP/Protocol/file.pm blib/lib/LWP/Protocol/file.pm
cp lib/LWP/Protocol/http10.pm blib/lib/LWP/Protocol/http10.pm
cp lib/LWP/Protocol/GHTTP.pm blib/lib/LWP/Protocol/GHTTP.pm
cp lib/LWP/DebugFile.pm blib/lib/LWP/DebugFile.pm
cp lib/WWW/RobotRules.pm blib/lib/WWW/RobotRules.pm
cp lib/HTTP/Negotiate.pm blib/lib/HTTP/Negotiate.pm
cp lib/HTTP/Request.pm blib/lib/HTTP/Request.pm
cp lib/LWP/Protocol/data.pm blib/lib/LWP/Protocol/data.pm
cp lib/HTTP/Config.pm blib/lib/HTTP/Config.pm
cp lib/LWP/Protocol/nogo.pm blib/lib/LWP/Protocol/nogo.pm
cp lib/HTTP/Response.pm blib/lib/HTTP/Response.pm
cp lib/LWP/Simple.pm blib/lib/LWP/Simple.pm
cp lib/HTTP/Headers.pm blib/lib/HTTP/Headers.pm
cp lib/LWP/Protocol/https.pm blib/lib/LWP/Protocol/https.pm
cp lib/Net/HTTP/Methods.pm blib/lib/Net/HTTP/Methods.pm
cp lib/Bundle/LWP.pm blib/lib/Bundle/LWP.pm
cp bin/lwp-dump blib/script/lwp-dump
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-dump
cp bin/lwp-mirror blib/script/lwp-mirror
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-mirror
cp bin/lwp-download blib/script/lwp-download
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-download
cp bin/lwp-rget blib/script/lwp-rget
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-rget
cp bin/lwp-request blib/script/lwp-request
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lwp-request
Manifying blib/man1/lwp-dump.1
Manifying blib/man1/lwp-mirror.1
Manifying blib/man1/lwp-download.1
Manifying blib/man1/lwp-rget.1
Manifying blib/man1/lwp-request.1
Manifying blib/man3/LWP::RobotUA.3pm
Manifying blib/man3/LWP::Authen::Ntlm.3pm
Manifying blib/man3/LWP.3pm
Manifying blib/man3/LWP::Protocol.3pm
Manifying blib/man3/HTTP::Request::Common.3pm
Manifying blib/man3/lwptut.3pm
Manifying blib/man3/HTTP::Message.3pm
Manifying blib/man3/HTML::Form.3pm
Manifying blib/man3/HTTP::Cookies::Netscape.3pm
Manifying blib/man3/Net::HTTP::NB.3pm
Manifying blib/man3/HTTP::Status.3pm
Manifying blib/man3/HTTP::Headers::Util.3pm
Manifying blib/man3/HTTP::Cookies::Microsoft.3pm
Manifying blib/man3/LWP::UserAgent.3pm
Manifying blib/man3/LWP::MemberMixin.3pm
Manifying blib/man3/LWP::Debug.3pm
Manifying blib/man3/Net::HTTP.3pm
Manifying blib/man3/HTTP::Daemon.3pm
Manifying blib/man3/HTTP::Cookies.3pm
Manifying blib/man3/LWP::ConnCache.3pm
Manifying blib/man3/File::Listing.3pm
Manifying blib/man3/WWW::RobotRules::AnyDBM_File.3pm
Manifying blib/man3/lwpcook.3pm
Manifying blib/man3/LWP::MediaTypes.3pm
Manifying blib/man3/HTTP::Date.3pm
Manifying blib/man3/HTTP::Request.3pm
Manifying blib/man3/HTTP::Negotiate.3pm
Manifying blib/man3/WWW::RobotRules.3pm
Manifying blib/man3/HTTP::Config.3pm
Manifying blib/man3/HTTP::Response.3pm
Manifying blib/man3/LWP::Simple.3pm
Manifying blib/man3/HTTP::Headers.3pm
Manifying blib/man3/Bundle::LWP.3pm
[root@CH-S_TGINAG01 libwww-perl-5.837]# make install
Installing /usr/local/share/perl5/lwpcook.pod
Installing /usr/local/share/perl5/LWP.pm
Installing /usr/local/share/perl5/lwptut.pod
Installing /usr/local/share/perl5/WWW/RobotRules.pm
Installing /usr/local/share/perl5/WWW/RobotRules/AnyDBM_File.pm
Installing /usr/local/share/perl5/File/Listing.pm
Installing /usr/local/share/perl5/HTTP/Date.pm
Installing /usr/local/share/perl5/HTTP/Message.pm
Installing /usr/local/share/perl5/HTTP/Config.pm
Installing /usr/local/share/perl5/HTTP/Response.pm
Installing /usr/local/share/perl5/HTTP/Headers.pm
Installing /usr/local/share/perl5/HTTP/Daemon.pm
Installing /usr/local/share/perl5/HTTP/Negotiate.pm
Installing /usr/local/share/perl5/HTTP/Status.pm
Installing /usr/local/share/perl5/HTTP/Request.pm
Installing /usr/local/share/perl5/HTTP/Cookies.pm
Installing /usr/local/share/perl5/HTTP/Request/Common.pm
Installing /usr/local/share/perl5/HTTP/Headers/Auth.pm
Installing /usr/local/share/perl5/HTTP/Headers/Util.pm
Installing /usr/local/share/perl5/HTTP/Headers/ETag.pm
Installing /usr/local/share/perl5/HTTP/Cookies/Microsoft.pm
Installing /usr/local/share/perl5/HTTP/Cookies/Netscape.pm
Installing /usr/local/share/perl5/Net/HTTPS.pm
Installing /usr/local/share/perl5/Net/HTTP.pm
Installing /usr/local/share/perl5/Net/HTTP/NB.pm
Installing /usr/local/share/perl5/Net/HTTP/Methods.pm
Installing /usr/local/share/perl5/LWP/media.types
Installing /usr/local/share/perl5/LWP/UserAgent.pm
Installing /usr/local/share/perl5/LWP/ConnCache.pm
Installing /usr/local/share/perl5/LWP/DebugFile.pm
Installing /usr/local/share/perl5/LWP/MediaTypes.pm
Installing /usr/local/share/perl5/LWP/Protocol.pm
Installing /usr/local/share/perl5/LWP/Simple.pm
Installing /usr/local/share/perl5/LWP/RobotUA.pm
Installing /usr/local/share/perl5/LWP/Debug.pm
Installing /usr/local/share/perl5/LWP/MemberMixin.pm
Installing /usr/local/share/perl5/LWP/Protocol/GHTTP.pm
Installing /usr/local/share/perl5/LWP/Protocol/mailto.pm
Installing /usr/local/share/perl5/LWP/Protocol/nntp.pm
Installing /usr/local/share/perl5/LWP/Protocol/ftp.pm
Installing /usr/local/share/perl5/LWP/Protocol/cpan.pm
Installing /usr/local/share/perl5/LWP/Protocol/https10.pm
Installing /usr/local/share/perl5/LWP/Protocol/file.pm
Installing /usr/local/share/perl5/LWP/Protocol/http.pm
Installing /usr/local/share/perl5/LWP/Protocol/loopback.pm
Installing /usr/local/share/perl5/LWP/Protocol/http10.pm
Installing /usr/local/share/perl5/LWP/Protocol/gopher.pm
Installing /usr/local/share/perl5/LWP/Protocol/nogo.pm
Installing /usr/local/share/perl5/LWP/Protocol/data.pm
Installing /usr/local/share/perl5/LWP/Protocol/https.pm
Installing /usr/local/share/perl5/LWP/Authen/Ntlm.pm
Installing /usr/local/share/perl5/LWP/Authen/Basic.pm
Installing /usr/local/share/perl5/LWP/Authen/Digest.pm
Installing /usr/local/share/perl5/HTML/Form.pm
Installing /usr/local/share/perl5/Bundle/LWP.pm
Installing /usr/local/share/man/man1/lwp-rget.1
Installing /usr/local/share/man/man1/lwp-mirror.1
Installing /usr/local/share/man/man1/lwp-request.1
Installing /usr/local/share/man/man1/lwp-dump.1
Installing /usr/local/share/man/man1/lwp-download.1
Installing /usr/local/share/man/man3/Net::HTTP::NB.3pm
Installing /usr/local/share/man/man3/lwptut.3pm
Installing /usr/local/share/man/man3/HTTP::Negotiate.3pm
Installing /usr/local/share/man/man3/HTTP::Message.3pm
Installing /usr/local/share/man/man3/Net::HTTP.3pm
Installing /usr/local/share/man/man3/HTTP::Request.3pm
Installing /usr/local/share/man/man3/WWW::RobotRules.3pm
Installing /usr/local/share/man/man3/HTTP::Request::Common.3pm
Installing /usr/local/share/man/man3/LWP::RobotUA.3pm
Installing /usr/local/share/man/man3/LWP::Simple.3pm
Installing /usr/local/share/man/man3/LWP::MemberMixin.3pm
Installing /usr/local/share/man/man3/LWP::Protocol.3pm
Installing /usr/local/share/man/man3/LWP::ConnCache.3pm
Installing /usr/local/share/man/man3/File::Listing.3pm
Installing /usr/local/share/man/man3/HTTP::Daemon.3pm
Installing /usr/local/share/man/man3/LWP::Authen::Ntlm.3pm
Installing /usr/local/share/man/man3/HTTP::Response.3pm
Installing /usr/local/share/man/man3/HTTP::Cookies.3pm
Installing /usr/local/share/man/man3/HTTP::Headers::Util.3pm
Installing /usr/local/share/man/man3/LWP::Debug.3pm
Installing /usr/local/share/man/man3/lwpcook.3pm
Installing /usr/local/share/man/man3/HTTP::Config.3pm
Installing /usr/local/share/man/man3/LWP::UserAgent.3pm
Installing /usr/local/share/man/man3/LWP.3pm
Installing /usr/local/share/man/man3/HTTP::Date.3pm
Installing /usr/local/share/man/man3/HTTP::Cookies::Microsoft.3pm
Installing /usr/local/share/man/man3/HTML::Form.3pm
Installing /usr/local/share/man/man3/Bundle::LWP.3pm
Installing /usr/local/share/man/man3/LWP::MediaTypes.3pm
Installing /usr/local/share/man/man3/HTTP::Headers.3pm
Installing /usr/local/share/man/man3/HTTP::Cookies::Netscape.3pm
Installing /usr/local/share/man/man3/WWW::RobotRules::AnyDBM_File.3pm
Installing /usr/local/share/man/man3/HTTP::Status.3pm
Installing /usr/local/bin/lwp-request
Installing /usr/local/bin/lwp-download
Installing /usr/local/bin/lwp-mirror
Installing /usr/local/bin/lwp-dump
Installing /usr/local/bin/lwp-rget
Appending installation info to /usr/lib64/perl5/perllocal.pod
[root@CH-S_TGINAG01 libwww-perl-5.837]# cd /usr/local/nagios/libexec/
[root@CH-S_TGINAG01 libexec]# ./check_vmware_api.pl -H 10.61.50.243 -u 'nagiosus er' -p 'Abb@21Admin' -l cpu -s usage -w 80 -c 90 -vvv --trace=4
[extra-opts] check_vmware_api.pl -H 10.61.50.243 -u nagiosuser -p Abb@21Admin -l cpu -s usage -w 80 -c 90 -vvv --trace=4
CHECK_VMWARE_API.PL CRITICAL - Server version unavailable at 'https://10.61.50.2 43:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.

[root@CH-S_TGINAG01 libexec]#
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installing VMWARE sdk

Post by ssax »

Please attach this file:

Code: Select all

/usr/share/perl5/VMware/VICommon.pm
Send the output of this command as well (the last one was wrong):

Code: Select all

curl -k -L -vvv 'https://10.61.50.243:443/sdk/vimService.wsdl'
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Installing VMWARE sdk

Post by sneha.irali »

file attached and below is the o/p:


[root@CH-S_TGINAG01 libexec]# curl -k -L -v 'https://10.61.50.243:443/sdk/vimService.wsdl'
* About to connect() to 10.61.50.243 port 443 (#0)
* Trying 10.61.50.243...
* Connected to 10.61.50.243 (10.61.50.243) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: E=[email protected],CN=10.61.50.243,OU=VMware Engineering,O=VMware,L=Palo Alto,ST=California,C=US
* start date: Mar 02 07:19:55 2021 GMT
* expire date: Mar 02 07:19:55 2026 GMT
* common name: 10.61.50.243
* issuer: OU=VMware Engineering,O=photon-machine,ST=California,C=US,DC=local,DC=vsphere,CN=CA
> GET /sdk/vimService.wsdl HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 10.61.50.243
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 27 Jul 2021 17:29:18 GMT
< Cache-Control: no-cache
< Connection: Keep-Alive
< Content-Type: text/xml; charset=utf-8
< X-Frame-Options: DENY
< Content-Length: 545
<
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2005-2020 VMware, Inc. All rights reserved.
-->
<definitions targetNamespace="urn:vim25Service"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:interface="urn:vim25"
>
<import location="vim.wsdl" namespace="urn:vim25" />
<service name="VimService">
<port binding="interface:VimBinding" name="VimPort">
<soap:address location="https://localhost/sdk/vimService" />
</port>
</service>
</definitions>
* Connection #0 to host 10.61.50.243 left intact
You have new mail in /var/spool/mail/root
[root@CH-S_TGINAG01 libexec]#
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installing VMWARE sdk

Post by ssax »

I do not see the file attached to your post, please attach this file:

Code: Select all

/usr/share/perl5/VMware/VICommon.pm
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Installing VMWARE sdk

Post by sneha.irali »

attached now
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installing VMWARE sdk

Post by ssax »

Please replace yours with the one I've attached (rename .txt to .pm):

Code: Select all

/usr/share/perl5/VMware/VICommon.pm
VICommon.txt
Then send fresh output of this one:

Code: Select all

./check_vmware_api.pl -H 10.61.50.243 -u 'YOURUSER' -p 'YOURPASSWORD' -l cpu -s usage -w 80 -c 90 -vvv --trace=4
You do not have the required permissions to view the files attached to this post.
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Installing VMWARE sdk

Post by sneha.irali »

Thats Amazing..!!! it did work now.

What the issue here it will be helpful if u can brief it up.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installing VMWARE sdk

Post by ssax »

That's great to hear!

It didn't trust the SSL cert that was being served, I changed it to ignore the certificate verification.

Let us know when we're okay to lock this up and mark it as resolved.
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Installing VMWARE sdk

Post by sneha.irali »

yes, its resolved now.
Locked