❦ 25 février 2015 16:17 +0100, Mathieu Sergent <mathieu.sergent...@gmail.com> :

> I want to know if a MIB for HAProxy is available ? 

IT depends what you call a MIB.

Aloha (the packaged HAProxy by HAProxy Tech) comes with a MIB:
 https://www.haproxy.com/download/aloha/mibs/EXCELIANCE-MIB.txt

But you need an implementation. You can find mine here (I am not using
it anymore currently, I don't even remember if it was for HAProxy 1.4 or
1.5):
 https://gist.github.com/vincentbernat/244004c94e1932d86f14

The stat socket should be configured to listen to port 8881. If you are
using multiple processes, you need to bind one stat socket for each
process on ports 8881, 8882, 8883, etc.

The script should be used as a "pass persist" script with Net-SNMP.

Also, there is a similar script distributed with HAProxy in contrib. I
didn't test it and it doesn't provide a MIB description.
-- 
Take care to branch the right way on equality.
            - The Elements of Programming Style (Kernighan & Plauger)

  • MIB Mathieu Sergent
    • Re: MIB Baptiste
    • Re: MIB Vincent Bernat

Reply via email to