Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (dev) vld@pc:~$ python python/projects/monitoring/zabbix/systemd_service_stats/systemd_service_stats.py
- ['Type=forking', 'Restart=no', 'PIDFile=/run/nginx.pid', 'NotifyAccess=none', 'RestartUSec=100ms', 'TimeoutStartUSec=1min 30s', 'TimeoutStopUSec=5s', 'RuntimeMaxUSec=infinity', 'WatchdogUSec=0', 'WatchdogTimestampMonotonic=0', 'RootDirectoryStartOnly=no', 'RemainAfterExit=no', 'GuessMainPID=yes', 'MainPID=16983', 'ControlPID=0', 'FileDescriptorStoreMax=0', 'NFileDescriptorStore=0', 'StatusErrno=0', 'Result=success', 'UID=[not set]', 'GID=[not set]', 'NRestarts=0', 'ExecMainStartTimestamp=Tue 2019-08-13 20:23:06 +07', 'ExecMainStartTimestampMonotonic=11791272444', 'ExecMainExitTimestampMonotonic=0', 'ExecMainPID=16983', 'ExecMainCode=0', 'ExecMainStatus=0', 'ExecStartPre={ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -t -q -g daemon on; master_process on; ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }', 'ExecStart={ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -g daemon on; master_process on; ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }', 'ExecReload={ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -g daemon on; master_process on; -s reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }', 'ExecStop={ path=/sbin/start-stop-daemon ; argv[]=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }', 'Slice=system.slice', 'ControlGroup=/system.slice/nginx.service', 'MemoryCurrent=9789440', 'CPUUsageNSec=[not set]', 'TasksCurrent=9', 'IPIngressBytes=18446744073709551615', 'IPIngressPackets=18446744073709551615', 'IPEgressBytes=18446744073709551615', 'IPEgressPackets=18446744073709551615', 'Delegate=no', 'CPUAccounting=no', 'CPUWeight=[not set]', 'StartupCPUWeight=[not set]', 'CPUShares=[not set]', 'StartupCPUShares=[not set]', 'CPUQuotaPerSecUSec=infinity', 'IOAccounting=no', 'IOWeight=[not set]', 'StartupIOWeight=[not set]', 'BlockIOAccounting=no', 'BlockIOWeight=[not set]', 'StartupBlockIOWeight=[not set]', 'MemoryAccounting=yes', 'MemoryMin=0', 'MemoryLow=0', 'MemoryHigh=infinity', 'MemoryMax=infinity', 'MemorySwapMax=infinity', 'MemoryLimit=infinity', 'DevicePolicy=auto', 'TasksAccounting=yes', 'TasksMax=4915', 'IPAccounting=no', 'UMask=0022', 'LimitCPU=infinity', 'LimitCPUSoft=infinity', 'LimitFSIZE=infinity', 'LimitFSIZESoft=infinity', 'LimitDATA=infinity', 'LimitDATASoft=infinity', 'LimitSTACK=infinity', 'LimitSTACKSoft=8388608', 'LimitCORE=infinity', 'LimitCORESoft=0', 'LimitRSS=infinity', 'LimitRSSSoft=infinity', 'LimitNOFILE=524288', 'LimitNOFILESoft=1024', 'LimitAS=infinity', 'LimitASSoft=infinity', 'LimitNPROC=63620', 'LimitNPROCSoft=63620', 'LimitMEMLOCK=67108864', 'LimitMEMLOCKSoft=67108864', 'LimitLOCKS=infinity', 'LimitLOCKSSoft=infinity', 'LimitSIGPENDING=63620', 'LimitSIGPENDINGSoft=63620', 'LimitMSGQUEUE=819200', 'LimitMSGQUEUESoft=819200', 'LimitNICE=0', 'LimitNICESoft=0', 'LimitRTPRIO=0', 'LimitRTPRIOSoft=0', 'LimitRTTIME=infinity', 'LimitRTTIMESoft=infinity', 'OOMScoreAdjust=0', 'Nice=0', 'IOSchedulingClass=0', 'IOSchedulingPriority=0', 'CPUSchedulingPolicy=0', 'CPUSchedulingPriority=0', 'TimerSlackNSec=50000', 'CPUSchedulingResetOnFork=no', 'NonBlocking=no', 'StandardInput=null', 'StandardInputData=', 'StandardOutput=journal', 'StandardError=inherit', 'TTYReset=no', 'TTYVHangup=no', 'TTYVTDisallocate=no', 'SyslogPriority=30', 'SyslogLevelPrefix=yes', 'SyslogLevel=6', 'SyslogFacility=3', 'LogLevelMax=-1', 'LogRateLimitIntervalUSec=0', 'LogRateLimitBurst=0', 'SecureBits=0', 'CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend', 'AmbientCapabilities=', 'DynamicUser=no', 'RemoveIPC=no', 'MountFlags=', 'PrivateTmp=no', 'PrivateDevices=no', 'ProtectKernelTunables=no', 'ProtectKernelModules=no', 'ProtectControlGroups=no', 'PrivateNetwork=no', 'PrivateUsers=no', 'PrivateMounts=no', 'ProtectHome=no', 'ProtectSystem=no', 'SameProcessGroup=no', 'UtmpMode=init', 'IgnoreSIGPIPE=yes', 'NoNewPrivileges=no', 'SystemCallErrorNumber=0', 'LockPersonality=no', 'RuntimeDirectoryPreserve=no', 'RuntimeDirectoryMode=0755', 'StateDirectoryMode=0755', 'CacheDirectoryMode=0755', 'LogsDirectoryMode=0755', 'ConfigurationDirectoryMode=0755', 'MemoryDenyWriteExecute=no', 'RestrictRealtime=no', 'RestrictNamespaces=no', 'MountAPIVFS=no', 'KeyringMode=private', 'KillMode=mixed', 'KillSignal=15', 'FinalKillSignal=9', 'SendSIGKILL=yes', 'SendSIGHUP=no', 'WatchdogSignal=6', 'Id=nginx.service', 'Names=nginx.service', 'Requires=system.slice sysinit.target', 'WantedBy=multi-user.target', 'Conflicts=shutdown.target', 'Before=multi-user.target shutdown.target', 'After=sysinit.target basic.target systemd-journald.socket system.slice network.target', 'Documentation=man:nginx(8)', 'Description=A high performance web server and a reverse proxy server', 'LoadState=loaded', 'ActiveState=active', 'SubState=running', 'FragmentPath=/lib/systemd/system/nginx.service', 'UnitFileState=enabled', 'UnitFilePreset=enabled', 'StateChangeTimestamp=Tue 2019-08-13 20:23:06 +07', 'StateChangeTimestampMonotonic=11791272481', 'InactiveExitTimestamp=Tue 2019-08-13 20:23:06 +07', 'InactiveExitTimestampMonotonic=11791243044', 'ActiveEnterTimestamp=Tue 2019-08-13 20:23:06 +07', 'ActiveEnterTimestampMonotonic=11791272481', 'ActiveExitTimestampMonotonic=0', 'InactiveEnterTimestampMonotonic=0', 'CanStart=yes', 'CanStop=yes', 'CanReload=yes', 'CanIsolate=no', 'StopWhenUnneeded=no', 'RefuseManualStart=no', 'RefuseManualStop=no', 'AllowIsolate=no', 'DefaultDependencies=yes', 'OnFailureJobMode=replace', 'IgnoreOnIsolate=no', 'NeedDaemonReload=no', 'JobTimeoutUSec=infinity', 'JobRunningTimeoutUSec=infinity', 'JobTimeoutAction=none', 'ConditionResult=yes', 'AssertResult=yes', 'ConditionTimestamp=Tue 2019-08-13 20:23:06 +07', 'ConditionTimestampMonotonic=11791242114', 'AssertTimestamp=Tue 2019-08-13 20:23:06 +07', 'AssertTimestampMonotonic=11791242116', 'Transient=no', 'Perpetual=no', 'StartLimitIntervalUSec=10s', 'StartLimitBurst=5', 'StartLimitAction=none', 'FailureAction=none', 'FailureActionExitStatus=-1', 'SuccessAction=none', 'SuccessActionExitStatus=-1', 'InvocationID=b70ef94361ac4a43b0e41ccb51a6c4e3', 'CollectMode=inactive']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement