Package Products :: Package ZenStatus :: Package nmap :: Module PingResult |
[hide private]
[frames] | no frames]

# Module PingResult

source code

Classes | [hide private]
PingResult Model of an nmap ping/traceroute result.

Functions | [hide private]
parseNmapXml(input) Parse the XML output of nmap and return a list PingResults. | source code
parseNmapXmlToDict(input) Parse the XML output of nmap and return a dict of PingResults indexed by IP. | source code

Variables | [hide private]
| __doc__ = `"""PingRes`...``
| log = `logging.getLogger("zen.nmap")`
| _STATE_TO_STRING_MAP = `{True: 'up', False: 'down'}`
| _NAN = `float('nan')`
| _NO_TRACE = `tuple()`

Variables Details | [hide private]

  ### __doc__ Value:
      """PingResult

      Utilities to parse nmap output and represent results.
      """