More
Browsing Tag

Zabbix

[Z3005] Zabbix PostgreSQL database upgrade failed

By Antti Hurme 07/03/2023 No Comments 1 Min Read

When upgrading your Zabbix Database, you might encounter the following error “[Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR:  permission denied for schema public”. The zabbix user you’ve created doesn’t normally need access to the database schema to work, so this would only be relevant when upgrading the zabbix version, for example between 6.2.x to 6.4.0. To fix the error, you need to give the zabbix database user access to modify the public…

Continue Reading

Ignoring Windows Services in Zabbix Windows Template Low-Level Service Discovery

By Antti Hurme 27/12/2017 2 Comments 0 Min Read

The new Zabbix Windows templates include a Low-Level Discovery for Windows Services. The service.discovery LLD creates items based on discovered Windows Services and accompanies triggers to services with Automatic startup. To ignore a set of services, from all Windows clients, you need to modify¬† the discovery regex. To modify the default regex, open Administration > General > Regular Expressions. Modify the Windows Service names for discovery reged that has a…

Continue Reading

Zabbix Windows Security event id 5156

By Antti Hurme 31/10/2016 No Comments 0 Min Read

Noticed in one case the Zabbix agent was spamming the Windows Security eventlog with events “filtering platform connection” of status success and event id 5156. This was especially true when disk space was low and the agent seemed to query the disk space a lot more frequently. This caused the log file to fill up even faster which helped the disk space to fill up. To get around this, I…

Continue Reading

Simple monitoring of Linux services with zabbix

By Antti Hurme 19/10/2016 No Comments 1 Min Read

This little snippet and template allows you to monitor services on Linux. It’s really simple and might not work on all distributions. So far I’ve mainly used it on CentOS6. The required files can be downloaded from github here. To get things working, copy the files from github to /etc/zabbix. You need to change the owner of userscripts to zabbix and add the execute privileges to the .sh file. chmod…

Continue Reading
Load More Posts