nagios-scripts's People
Forkers
billux thomasjpatterson dr4ke dhindsa zakswindow noudandi n00by reigner-loggly stefandjordjevichumanity eythori-sensanagios-scripts's Issues
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? :)
Check Backend Process
Hi,
How can I check if any of the backend process is down using this script? Thanks.
Thanks,
Govind
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.
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?
@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'}]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.