GithubHelp home page GithubHelp logo

aleex42 / vmware-vcsa-monitoring Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 119 KB

Monitoring für VMware vCenter Server Appliance via API

License: GNU General Public License v3.0

Perl 100.00%
vmware vmware-monitoring vcsa vcenter vcenter-server vcenter-api nagios nagios-plugin icinga icinga2

vmware-vcsa-monitoring's People

Contributors

aleex42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rl4tner keith4

vmware-vcsa-monitoring's Issues

VCSA Permission

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

Malformed JSON error

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?

Uninitialized value $total in check_vcsa_storage.pl

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.