I think this may be the old question but here it is. I want to check email queue of different servers from icinga2 server. what I did is
It shows mailq empty as icinga2 server have no emails in queue but I want to check mailq of another servers (example.com, example2.com). There is no options like -H so that I can give hostname of another server.
* I do not use nrpe client.