Giter VIP home page Giter VIP logo

Comments (3)

bb-Ricardo avatar bb-Ricardo commented on July 23, 2024 1

+1

Maybe I got some time in the near future to add this. Important would be to output the CRITICAL/WARNING $SERVICE at the first line.

from check_netscaler.

slauger avatar slauger commented on July 23, 2024

Hi,

thanks for your feedback!

Could you give me an example? How do you want the plugin output to look like?

I can implement a dymamic line seperator (for example ā€ž\nā€œ) for each call of $plugin->add_message(), instead of the currently hardcoded semicolon if that is what you want.

Cheers, Simon

from check_netscaler.

cstegm avatar cstegm commented on July 23, 2024

Hi,

I guess I have a nice example:

NetScaler OK - state servicegroup: GRUPPE_SERVICEGROUP1 UP: GRUPPE_SERVICEGROUP_2 UP: GRUPPE_SERVICEGROUP_3 UP: GRUPPE_SERVICEGROUP_4 UP: GRUPPE_SERVICEGROUP_5 UP: GRUPPE_SERVICEGROUP_6 UP: GRUPPE_SERVICEGROUP_7 UP: GRUPPE_SERVICEGROUP_8 UP: GRUPPE_SERVICEGROUP_9 UP: GRUPPE_SERVICEGROUP_10 UP: GRUPPE_SERVICEGROUP_11 DOWN: 0 UNKOWN: 0 PARTIAL-UP: 10 UP: 0 OUT OF SERVICE: 1 DOWN:

Ideal would be:

NetScaler 'servicegroup' OK

servicegroup(s):
[OK] GRUPPE_SERVICEGROUP1 UP
[OK] GRUPPE_SERVICEGROUP_2 UP
[OK] GRUPPE_SERVICEGROUP_3 UP
[OK] GRUPPE_SERVICEGROUP_4 UP
[OK] GRUPPE_SERVICEGROUP_5 UP
[OK] GRUPPE_SERVICEGROUP_6 UP
[OK] GRUPPE_SERVICEGROUP_7 UP
[OK] GRUPPE_SERVICEGROUP_8 UP
[OK] GRUPPE_SERVICEGROUP_9 UP
[OK] GRUPPE_SERVICEGROUP_10 UP
[CRITICAL] GRUPPE_SERVICEGROUP_11 DOWN

UNKOWN:           0
PARTIAL-UP:       0
UP:              10
OUT OF SERVICE:   0
DOWN:             1

Some Details
We Use Icingaweb2 - In a service overview or list view we see a the short output which is alway the first Line of the plugin Output:
NetScaler 'servicegroup' OK

In Icingaweb2 an occurance in the pluginoutput of [OK], [WARNING] or [CRITICAL] is automatically colored green, orange and red - so you see directly the issue that we detect with that check. ( Example of the Coloring https://cloud.githubusercontent.com/assets/25796110/25178084/bc486c4a-2504-11e7-889e-64c66559e52d.png )

from check_netscaler.

Related Issues (20)

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.