GithubHelp home page GithubHelp logo

nagios-scripts's People

Contributors

n00by avatar n2aws avatar noudandi avatar tatref avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nagios-scripts's Issues

@labels is nasty

loading of @labels is nasty, no warnings and stuff... yuck. try something more like:

Extract labels into hash of index positions :)

my %labels = do {
my $idx = 0;
map { +($_ => $idx++) }
split /,/,
shift @lines;
};

which will look like...
%labels = ( field0 => 0, field1 => 1, field2 => 2);

then later use it like:
$data[$labels{'field'}]

Global symbol "$scur" requires explicit package name

Just trying to setup with Nagios Core 4.0.8 on Ubuntu 14.04:

./check_haproxy
Global symbol "$scur" requires explicit package name at ./check_haproxy line 186.
Execution of ./check_haproxy aborted due to compilation errors.

Did I missed something?

Check Backend Process

Hi,

How can I check if any of the backend process is down using this script? Thanks.

Thanks,
Govind

NRPE: Unable to read output

NRPE shows, that it is unable to read output.

Configured as:

command[check_haproxy]=/usr/local/nagios/libexec/check_haproxy -s /run/haproxy/admin.sock -w 75 -c 90

Running manually returns:

Check haproxy OK - checked 12 proxies.|fpm28-FRONTEND=0;7500;9000;0;10000;fpm28-QLB-WWWDMZ-FPM1=0;2250;2700;0;3000;fpm28-QLB-WWWDMZ-FPM2=0;2250;2700;0;3000;fpm28-BACKEND=0;7500;9000;0;10000; and so on...

Did I also missed something here? :)

Issue with Centreon - Use of uninitialized value

Hello,
This perl script working fine on my Linux Centreon server when I use it on console (command line). But when I create a check command and service template, the status is:

Use of uninitialized value $haproxy in split at /usr/lib/centreon/plugins/[check_haproxy_stats.pl](http://check_haproxy_stats.pl/) line 233.
Unable to retrieve haproxy stats at /usr/lib/centreon/plugins/[check_haproxy_stats.pl](http://check_haproxy_stats.pl/) line 235.

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.