Changeset 10912 in genesis for tools


Ignore:
Timestamp:
May 19, 2012, 10:12:38 AM (13 years ago)
Author:
richardvm
Message:

interface must be up for nano to be added to Nagios

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/yaml2nag-nano.py

    r10897 r10912  
    4949        ifacedump = datadump[iface]
    5050        try:
    51           if not ifacedump['mode'] == 'ap':
     51          if not ifacedump['mode'] == 'ap' and is_up(ifacedump):
    5252            ifacedump['use'] = 'host-pnp'
    5353            ifacedump['name'] = "%s-%s" % (host, ifacedump['autogen_ifname'])
Note: See TracChangeset for help on using the changeset viewer.