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

Postfix Mail Queue : not updated, always 0 #4

Open
BeWog opened this issue Oct 12, 2023 · 0 comments
Open

Postfix Mail Queue : not updated, always 0 #4

BeWog opened this issue Oct 12, 2023 · 0 comments

Comments

@BeWog
Copy link

BeWog commented Oct 12, 2023

Hi,

I noticed "Postfix Mail Queue" value was not update on Zabbix.

→ debugLevel to 4 on Mail Server:

2023/10/11 17:56:24.954405 [1] created direct exporter task for plugin 'UserParameter' itemid:0 key 'postfix[bytes_received]'
2023/10/11 17:56:24.954425 executing direct exporter task for key 'postfix[bytes_received]'
2023/10/11 17:56:24.954430 [UserParameter] executing command:'/usr/local/sbin/zabbix_postfix_passive.sh bytes_received'
2023/10/11 17:56:24.960514 [UserParameter] command:'/usr/local/sbin/zabbix_postfix_passive.sh bytes_received' length:9 output:'486724538'
2023/10/11 17:56:24.960553 executed direct exporter task for key 'postfix[bytes_received]'
2023/10/11 17:56:24.960595 sending passive check response: '486724538' to '91.xx.xx.xx'
2023/10/11 17:56:25.292389 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, peer certificate issuer:"OU=91.xx.xx.xx,O=AAA,C=FR" subject:"OU=Zabbix6_Server,O=AAA,C=FR"
2023/10/11 17:56:25.303499 received passive check request: 'postfix.pfmailq' from '176.yy.yy.yy'
2023/10/11 17:56:25.303544 [1] processing update request (1 requests)
2023/10/11 17:56:25.303551 [1] adding new request for key: 'postfix.pfmailq'
# here ⬇
2023/10/11 17:56:25.303555 [1] created direct exporter task for plugin 'UserParameter' itemid:0 key 'postfix.pfmailq'
2023/10/11 17:56:25.303573 executing direct exporter task for key 'postfix.pfmailq'
2023/10/11 17:56:25.303578 [UserParameter] executing command:'mailq | grep -v "Mail queue is empty" | grep -c '^[0-9A-Z]''
2023/10/11 17:56:25.310140 [UserParameter] command:'mailq | grep -v "Mail queue is empty" | grep -c '^[0-9A-Z]'' length:2 output:'34'
2023/10/11 17:56:25.310158 executed direct exporter task for key 'postfix.pfmailq'
2023/10/11 17:56:25.310181 sending passive check response: '34' to '176.yy.yy.yy'
# here ⬆
2023/10/11 17:56:25.458332 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, peer certificate issuer:"OU=91.xx.xx.xx,O=AAA,C=FR" subject:"OU=Zabbix6_Server,O=AAA,C=FR"
2023/10/11 17:56:25.468717 received passive check request: 'postfix.update_data' from '91.xx.xx.xx'
2023/10/11 17:56:25.468773 [1] processing update request (1 requests)
2023/10/11 17:56:25.468782 [1] adding new request for key: 'postfix.update_data'
2023/10/11 17:56:25.468788 [1] created direct exporter task for plugin 'UserParameter' itemid:0 key 'postfix.update_data'
2023/10/11 17:56:25.468819 executing direct exporter task for key 'postfix.update_data'
2023/10/11 17:56:25.468827 [UserParameter] executing command:'/usr/local/sbin/zabbix_postfix_passive.sh'
2023/10/11 17:56:25.546315 [UserParameter] command:'/usr/local/sbin/zabbix_postfix_passive.sh' length:22 output:'OK: statistics updat'
2023/10/11 17:56:25.546333 executed direct exporter task for key 'postfix.update_data'

→ On zabbix, others values are update but not "Postfix Mail Queue".
zabbix6_lastest-data_postfix

Any ideas ?

Regards

  • Mail Server: zabbix_agent2 (Zabbix) 6.4.7
  • Zabbix Server: zabbix_server (Zabbix) 6.4.7
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

1 participant