Example #1
0
 def autoconf(self):
     """Implements Munin Plugin Auto-Configuration Option.
     
     @return: True if plugin can be  auto-configured, False otherwise.
              
     """
     net_info = NetstatInfo()
     return len(net_info.getStats()) > 0
Example #2
0
 def autoconf(self):
     """Implements Munin Plugin Auto-Configuration Option.
     
     @return: True if plugin can be  auto-configured, False otherwise.
              
     """
     net_info = NetstatInfo()
     return len(net_info.getStats()) > 0