Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hastats
0.1
2011-12-01
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
88238
File | Description |
---|---|
check_hastats.pl | Plugin file. |
check_hastats.php | Template File for 4 Slaves |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The plugin is created with PERL and requires that you know your HAproxy configurations. The check_hastats can read the HAProxy Stats and provide performance output accordingly. First, modify the $specific_line variable by providing the name of the haproxy Web-farm name. (For Example: In the following haproxy.cfg listen section, the tomcatfarm is the Web-farm name)
listen tomcatfarm www.mywebsite.com:80
The plugin reads the haproxy status information in csv format.. You may need to enable a http listener port in order to read HA.Proxy stats..
The Syntax for the plugin is as follows...
check_hastats.pl [servername]:[port] [warn] [critical]
[servername] - The IP address or domain of the HAproxy
[port] - The port number its listening on (works on if enabled)
[warn] - The warning level for the concurrent connections.
[critical] - The critical level for the concurrent connections.
The plugin writes to the /tmp/inha.stats and deletes it soon after. Appreciate your feedback..
listen tomcatfarm www.mywebsite.com:80
The plugin reads the haproxy status information in csv format.. You may need to enable a http listener port in order to read HA.Proxy stats..
The Syntax for the plugin is as follows...
check_hastats.pl [servername]:[port] [warn] [critical]
[servername] - The IP address or domain of the HAproxy
[port] - The port number its listening on (works on if enabled)
[warn] - The warning level for the concurrent connections.
[critical] - The critical level for the concurrent connections.
The plugin writes to the /tmp/inha.stats and deletes it soon after. Appreciate your feedback..
Reviews (0)
Be the first to review this listing!