** Copyright (C) 2001-2025 Zabbix SIA
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
import "golang.zabbix.com/agent2/internal/agent/scheduler"
func checkMetrics(s scheduler.Scheduler) {
`web.page.get[localhost,,80]`,
`web.page.perf[localhost,,80]`,
`web.page.regexp[localhost,,80,OK]`,
`vfs.file.size[/etc/passwd]`,
`vfs.file.time[/etc/passwd,modify]`,
`vfs.file.exists[/etc/passwd]`,
`vfs.file.contents[/etc/passwd]`,
`vfs.file.regexp[/etc/passwd,root]`,
`vfs.file.regmatch[/etc/passwd,root]`,
`vfs.file.md5sum[/etc/passwd]`,
`vfs.file.cksum[/etc/passwd]`,
`vfs.file.owner[/etc/passwd]`,
`vfs.file.permissions[/etc/passwd]`,
`vfs.file.get[/etc/passwd]`,
`vfs.dir.size[/var/log]`,
`vfs.dir.count[/var/log]`,
`net.dns.record[,zabbix.com]`,
`net.dns.perf[,zabbix.com]`,
`net.dns.get[,zabbix.com]`,
`net.tcp.dns[,zabbix.com]`,
`net.tcp.dns.query[,zabbix.com]`,
`net.tcp.service[ssh,127.0.0.1,22]`,
`net.tcp.service.perf[ssh,127.0.0.1,22]`,
`net.tcp.socket.count[,80]`,
`net.udp.service[ntp,127.0.0.1,123]`,
`net.udp.service.perf[ntp,127.0.0.1,123]`,
`net.udp.socket.count[,80]`,