Hi Bart,

Thank you very much for your haproxy_* plugins which are proving to be
very useful.

In these scripts the print_autoconf function should be rewritten as
below in order to prevent them from outputting a junk error message
issued by the re-execed process (detected by munin-node-configure)
when autoconf is given and the stats socket does not exist.

Otherwise these scripts appear to work well so would you be willing to
submit them to munin-exchange?


All the best,

Terry

----

sub print_autoconf() {

   unless ( -S $socketfile ) {
           print "no\n";
           exit 1;
   }

   if ( `/usr/bin/perl $0` eq "" ) {
       print "no\n";
       exit 1;
   }

   print "yes\n";
   exit 0;

}

Reply via email to