Skip navigation
Currently Being Moderated

Zenoss Daemon Command Line Arguments

VERSION 1 
Created on: Sep 14, 2009 11:21 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:21 AM by Noel Brockett

Tables of all the daemon's command line arguments

Common Command Usage

command [start | run | stop | restart | help ]

  • start - starts the daemon
  • stop - stops the daemon
  • run - runs the process in the foreground
  • restart - stops and starts the daemon
  • help - prints useful information

zenactions


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--cycletime=CYCLETIMEcheck events every cycletime seconds
--fromaddr=FROMADDRaddress from which email is sent
--zopeurl=ZOPEURLhttp path to the root of the zope server

zencommand


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
-zZOPEURL, --zopeurl=ZOPEURLXMLRPC url path for performance configuration server
-uZOPEUSERNAME, --zopeusername=ZOPEUSERNAMEusername for zope server
--zopepassword=ZOPEPASSWORDpassword used to login to the zope server
--zem=ZEMXMLRPC path to an ZenEventManager instance
-dDEVICE, --device=DEVICESpecify a specific device to monitor
--monitor=MONITORSpecify a specific name of the monitor configuration
--parallel=PARALLELnumber of devices to collect at one time

zenmodeler


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--debugdon't fork threads for processing
--parallel=PARALLELnumber of devices to collect from in parallel
--cycletime=CYCLETIMErun collection every x minutes
--ignore=IGNOREPLUGINSComma separated list of collection maps to ignore
--collect=COLLECTPLUGINSComma separated list of collection maps to use
-pPATH, --path=PATHstart path for collection ie /NetworkDevices
-dDEVICE, --device=DEVICEfully qualified device name ie www.confmon.com
-aCOLLAGE, --collage=COLLAGEdo not collect from devices whose collect date is within this many minutes
--writetries=WRITETRIESnumber of times to try to write if a read conflict is found
-F, --forceforce collection of config data (even without change to the device)
--portscantimeout=PORTSCANTIMEOUTtime to wait for connection failures when port scanning
-uUSERNAME, --user=USERNAMELogin username
-PPASSWORD, --password=PASSWORDLogin password
-tLOGINTRIES, --loginTries=LOGINTRIESnumber of times to try login
-LLOGINTIMEOUT, --loginTimeout=LOGINTIMEOUTtimeout login expect statements
-TCOMMANDTIMEOUT, --commandTimeout=COMMANDTIMEOUTtimeout when issuing a command
-KKEYPATH, --keyPath=KEYPATHPath to use when looking for keys
-sSEARCHPATH, --searchPath=SEARCHPATHPath to use when looking for commands
-eEXISTENCETEST, --existenceTest=EXISTENCETESThow to check for command
-rPROMPTTIMEOUT, --promptTimeout=PROMPTTIMEOUTtimeout when discovering prompt
-xLOGINREGEX, --loginRegex=LOGINREGEXregex that will find the login prompt
-wPASSWORDREGEX, --passwordRegex=PASSWORDREGEXregex that will find the password prompt
--enableenter enable mode on a cisco device
--termlenenter send terminal length 0 on a cisco device
--enablePause=ENABLEPAUSEtime to wait before sending enable command
--enableRegex=ENABLEREGEXregex that will find the enable password prompt

NOTE: --ignore and --collect are mutually exclusive

zenperfsnmp


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
-zZOPEURL, --zopeurl=ZOPEURLXMLRPC url path for performance configuration server
-uZOPEUSERNAME, --zopeusername=ZOPEUSERNAMEusername for zope server
--zopepassword=ZOPEPASSWORDpassword used to login to the zope server
--zem=ZEMXMLRPC path to an ZenEventManager instance
-dDEVICE, --device=DEVICESpecify a specific device to monitor
--monitor=MONITORSpecify a specific name of the monitor configuration

zenperfxmlrpc


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
-zZOPEURL, --zopeurl=ZOPEURLXMLRPC url path for performance configuration server
-uZOPEUSERNAME, --zopeusername=ZOPEUSERNAMEusername for zope server
--zopepassword=ZOPEPASSWORDpassword used to login to the zope server
--zem=ZEMXMLRPC path to an ZenEventManager instance
-dDEVICE, --device=DEVICESpecify a specific device to monitor
--monitor=MONITORSpecify a specific name of the monitor configuration

zenping


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--configpath=CONFIGPATHpath to our monitor config ie: /Monitors/StatusMonitors/localhost
--name=NAMEname to use when looking up our record in the dmd defaults to our fqdn as returned by getfqdn
--testRun in test mode: doesn't really ping, but reads the list of IP Addresses that  are up from /tmp/testping

zenprocess


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
-zZOPEURL, --zopeurl=ZOPEURLXMLRPC url path for performance configuration server
-uZOPEUSERNAME, --zopeusername=ZOPEUSERNAMEusername for zope server
--zopepassword=ZOPEPASSWORDpassword used to login to the zope server
--zem=ZEMXMLRPC path to an ZenEventManager instance
-dDEVICE, --device=DEVICESpecify a specific device to monitor
--monitor=MONITORSpecify a specific name of the monitor configuration

zenstatus


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--configpath=CONFIGPATHpath to our monitor config ie: /Devices/Server
--parallel=PARALLELnumber of devices to collect at one time
--cycletime=CYCLETIMEcheck events every cycletime seconds

zensyslog


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--statcycle=STATCYCLENumber of seconds between the writing of stats
--dmdpath=DMDPATHzope path to our dmd /zport/dmd
--parsehosttry to parse the hostname part of a syslog HEADER
--statsprint stats to log every 2 secs
--logoriglog the original message
--debugdebug mode no threads
--minpriority=MINPRIORITYMinimum priority that syslog will accecpt
--heartbeat=HEARTBEATNumber of seconds between heartbeats
--syslogport=SYSLOGPORTPort number to use for syslog events

zentrap


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file must define all params (see man)
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--statcycle=STATCYCLENumber of seconds between the writing of stats
-tTRAPPORT, --trapport=TRAPPORTPort number for listening for traps

zenxevent


ArgumentComment
--versionshow program's version number and exit
-h, --helpshow this help message and exit
-vLOGSEVERITY, --logseverity=LOGSEVERITYLogging severity threshold
--logpath=LOGPATHoverride default logging path
-CCONFIGFILE, --configfile=CONFIGFILEconfig file
--uid=UIDuser to become when running default:zenoss
-c, --cycleCycle continuously on cycleInterval from zope
-D, --daemonBecome a unix daemon
--host=HOSThostname of zeo server
--port=PORTport of zeo server
-RDATAROOT, --dataroot=DATAROOTroot object for data load (i.e. /zport/dmd)
--cachesize=CACHESIZEin memory cachesize default: 1000
--pcachename=PCACHENAMEpersistent cache file name default:None
--pcachedir=PCACHEDIRpersistent cache file directory
--pcachesize=PCACHESIZEpersistent cache file size in MB
--statcycle=STATCYCLENumber of seconds between the writing of stats
-xXMLRPCPORT, --xport=XMLRPCPORTPort to listen for XML RPC calls
Comments (0)