-
|
I'd like to use the postfix_mailq built-in plugin to monitor my mail server, but it's not clear to me what the best approach for that is. I see there are options for adding smart and docker, but it looks like that requires manual intervention for every plugin you want to add. Is there a way to generically add plugins that aren't "local" plugins that I write in my Nix configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
i would say the currently problem is, that the postconf binary is not available: https://github.com/Checkmk/checkmk/blob/7c69e8642aedee3d9656f2387d87ec12426cf89a/agents/check_mk_agent.linux#L990 so adding the correct dependency to the nixos implementation of the checkmk agent would be a first step. but i fear the way the checkmk agent figures out what queues are available is not compatible with nixos? the agent references i have no domain knowledge regarding postfix, so i don't know how to patch the agent to discover queues on a nixos based system. can you share a minimal configuration how to setup postfix and a queue so it should be shown in the checkmk agent output? then maybe i can play around a bit and find a way to monitor this on nixos. |
Beta Was this translation helpful? Give feedback.
Aha! Thanks! I was looking in the completely wrong place to try to fix this, and I got it working by adding
postfixtosystemd.services."check_mk_agent@".path.Here's details on what I did:
Use this flake: