Git Product home page Git Product logo

checkglances's People

Contributors

d33d33 avatar gourneau avatar jmbarbier avatar mohierf avatar nicolargo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

checkglances's Issues

getCore

Bonjour et, merci pour ce script,

La fonction getCore renvoie un string et non un nombre.
Cela semble poser des problèmes pour les seuils warning, dans la fonction "load".

Uptime check raises an exception

On my system Ubuntu, the check uptime returns a string as of: 1 day, 20:24:42.

Checkglances.py raises an exception:

[1448194850] INFO: [Alignak] Result long output: File "/usr/local/var/lib/alignak/libexec/checkglances.py", line 596, in <module>
main()
File "/usr/local/var/lib/alignak/libexec/checkglances.py", line 589, in main
stat = stat, statparam = statparam)
File "/usr/local/var/lib/alignak/libexec/checkglances.py", line 203, in check
uptime_s = time.strptime(uptime, "%H:%M:%S")
File "/usr/lib/python2.7/_strptime.py", line 467, in _strptime_time
return _strptime(data_string, format)[0]
File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data u'1 day, 20:17:46' does not match format '%H:%M:%S'

Stat 'load' fails when remote server is Windows

Remote server Linux:

$ ./checkglances.py -v -H 192.168.0.13 -s load
$ LOAD last 5 minutes: 0.08 | 'cpucore'=1.00 'min1'=0.07 'min5'=0.08;1;5 'min15'=0.10

Remote server Windows:

$ ./checkglances.py -v -H 192.168.0.11 -s load
Traceback (most recent call last):
  File "./checkglances.py", line 554, in <module>
    main()
  File "./checkglances.py", line 547, in main
    stat = stat, statparam = statparam)
  File "./checkglances.py", line 239, in check
    checked_value = load['min5']
KeyError: 'min5'

Note: I have a fix for this exception ...

No recent update, still compatible ?

Is this plugin still compatible with Glances 2.5 version ?

Since there as been no recent update, what is the status of this plugin ? Known bugs ? Required improvements ?

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.