aleex42 / vmware-vcsa-monitoring Goto Github PK
View Code? Open in Web Editor NEWMonitoring für VMware vCenter Server Appliance via API
License: GNU General Public License v3.0
Monitoring für VMware vCenter Server Appliance via API
License: GNU General Public License v3.0
Hi,
i wanted to give your Scripts a shot and test them but ran into an error.
I want to run these script with a Serviceuser and not SSO Admin.
But without SSO Administrator Group Membership the Scripts are failing with Error Not an ARRAY reference at ./check_vcsa_mem.pl line 72.
Sample Command
./check_vcsa_mem.pl --hostname VCSA --username [email protected] --password 'PASSWORD' --warning 80 --critical 90
If i try the same command with SSO Administrator credentials or a serviceuser with SSO Administrator Groupmembership it works.
Can you may help me to specify wich permissions are necessary for the Scripts ?
We are currently on vCenter 6.7.0 Build 16046713
Thank you very much
Hi,
I've tried to deploy your perl scripts to Icinga2, but when I execute them from the CLI, I get the following:
/usr/lib/nagios/plugins# ./check_vcsa_storage.pl --hostname vcentre.XXX --username XXX --password XXX --warning 10 --critical 5
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "LWP will support htt...") at ./check_vcsa_storage.pl line 63.
/usr/lib/nagios/plugins# ./check_vcsa_cpu.pl --hostname vcentre.XXX --username XXX --password XXX --warning 10 --critical 5
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "LWP will support htt...") at ./check_vcsa_cpu.pl line 58.
This is attempting to check a VCSA running v6.7.0.40000.
Any ideas?
Hello,
We're now using this icinga plugins a long time and they worked always great.
But now since an update of the VCSA we're now getting this plugin output:
Use of uninitialized value $total in division (/) at /usr/lib/nagios/plugins/check_vcsa_storage.pl line 132.
Use of uninitialized value $used in division (/) at /usr/lib/nagios/plugins/check_vcsa_storage.pl line 132.
Illegal division by zero at /usr/lib/nagios/plugins/check_vcsa_storage.pl line 132.
What must be changed or done to fix this?
Greetings
dcz010
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.