Hi,
It appears that proc.num fails when the parameter is 16 characters or longer:
Has anyone else seen this / got a suggestion? I'm still seeing this in v1.6.2
Thanks,
rtsh
It appears that proc.num fails when the parameter is 16 characters or longer:
Code:
[root@xxxx ~]# ps aux |grep phpet1234 root 8153 0.0 0.1 281376 12316 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet1234 root 8233 0.0 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet12345 root 8349 0.1 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet123456 root 8440 0.1 0.1 281372 12312 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet1234567 root 8533 0.1 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet12345678 root 9190 0.2 0.1 281376 12312 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet123456789 root 9270 0.3 0.1 281376 12308 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet1234567890 root 9378 0.5 0.1 281372 12308 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet12345678901 root 9721 0.0 0.0 60272 720 pts/0 S+ 12:04 0:00 grep phpet1234 [root@xxxx ~]# zabbix_agentd -t proc.num[phpet1234567] proc.num[phpet1234567] [u|1] [root@xxxx ~]# zabbix_agentd -t proc.num[phpet12345678] proc.num[phpet12345678] [u|1] [root@xxxx ~]# zabbix_agentd -t proc.num[phpet123456789] proc.num[phpet123456789] [u|1] [root@xxxx ~]# zabbix_agentd -t proc.num[phpet1234567890] proc.num[phpet1234567890] [u|2] [COLOR="Red"]Correct - as two processes match this criteria[/COLOR] [root@xxxx ~]# zabbix_agentd -t proc.num[phpet12345678901] proc.num[phpet12345678901] [u|0] [COLOR="Red"]Wrong - this process is running. Why isn't Zabbix finding it?[/COLOR] [root@xxxx ~]# ps aux |grep phpet1234 root 8153 0.0 0.1 281376 12316 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet1234 root 8233 0.0 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet12345 root 8349 0.0 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet123456 root 8440 0.0 0.1 281372 12312 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet1234567 root 8533 0.0 0.1 281372 12308 pts/0 S 12:03 0:00 /usr/local/bin/php /usr/local/bin/phpet12345678 root 9190 0.1 0.1 281376 12312 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet123456789 root 9270 0.1 0.1 281376 12308 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet1234567890 root 9378 0.2 0.1 281372 12308 pts/0 S 12:04 0:00 /usr/local/bin/php /usr/local/bin/phpet12345678901 root 9957 0.0 0.0 60272 716 pts/0 S+ 12:05 0:00 grep phpet1234 [root@xxxx ~]#
Thanks,
rtsh
Comment