Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class Error #4

Open
sinanca opened this issue Dec 24, 2021 · 2 comments
Open

Class Error #4

sinanca opened this issue Dec 24, 2021 · 2 comments

Comments

@sinanca
Copy link

sinanca commented Dec 24, 2021

Hello,
why am i getting this error

In zbx_popen() command:' supervisorctl status | grep -v 'RUNNING' | awk '{print $1":"$2}' | paste -s -d,'
EXECUTE_STR() command:' supervisorctl status | grep -v 'RUNNING' | awk '{print $1":"$2}' | paste -s -d,' len:13 cmd_result:'error::<class'

OS Debian Buster
Zabbix server 4.10

@efemiydi
Copy link
Owner

Ensure that the below line in zabbix agent config:

UserParameter=supervisor.status,sudo supervisorctl status|grep -v 'RUNNING'|awk '{print $1":"$2}'|paste -s -d,

And run below command on agent node for manual test:

zabbix_get -s 127.0.0.1 -k 'supervisor.status'

Any error? Tested with Zabbix 4.0 and 5.0 on CentOS7, there is no errors like yours.

@sinanca
Copy link
Author

sinanca commented Dec 27, 2021

hi @rterzi

I did as you said, still the same error.

OS Debian 10
Zabbix server 4.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants