Package Products :: Package DataCollector :: Package CommandParsers |
[hide private]
[frames] | no frames]

# Source Code for Package Products.DataCollector.CommandParsers

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2007, Zenoss Inc.
     5  #
     6  # This program is free software; you can redistribute it and/or modify it
     7  # under the terms of the GNU General Public License version 2 as published by
     8  # the Free Software Foundation.
     9  #
    10  # For complete information please visit: http://www.zenoss.com/oss/
    11  #
    12  ###########################################################################
    13  from Uname_A import Uname_A
    14  from Unix_df_k import Unix_df_k
    15
    16  from Linux_netstat_an import Linux_netstat_an
    17  from Linux_netstat_rn import Linux_netstat_rn
    18  from Linux_ifconfig import Linux_ifconfig
    19
    20  from CiscoDhcpHelperAddress import CiscoDhcpHelperAddress
    21  from CiscoShowHardware import CiscoShowHardware
    22
    23 -def initCommandParsers(dataCollector):
    24      dataCollector.addCommandParser(Uname_A)
    25      dataCollector.addCommandParser(Unix_df_k)
    26
    27      dataCollector.addCommandParser(Linux_netstat_an)
    28      dataCollector.addCommandParser(Linux_netstat_rn)
    29      dataCollector.addCommandParser(Linux_ifconfig)
    30
    31      dataCollector.addCommandParser(CiscoDhcpHelperAddress)
    32      dataCollector.addCommandParser(CiscoShowHardware)
    33