These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for MON not working on the new forum.
Hello All,
Wondering if anyone has been able to get MON to work via virtualmin? I have checked my auth.cf, mon.cf and userfile and permissions are fine. I also created the users in the userfile but when I try to run a check, it fails saying:
Could not successfully execute command "monitor" test service "http" on hostgroup "servers" on server "localhost": 520 command could not be executed, unknown command (perhaps you don't have permissions in auth.cf?)
Any idea why this could be happening? I have posted my auth.cf, mon.cf and userfile in pastebin.com since attachments are disabled here:
auth.cf = http://pastebin.com/m6d563dd4 mon.cf = http://pastebin.com/m7218610b userfile = http://pastebin.com/m14f8b7ec
Well, I haven't attempted to use Mon before -- but it sounds like the test it's trying to run to watch Apache is failing?
Do you perhaps see a file called http.monitor -- perhaps in either /usr/lib/mon/mon.d or /etc/mon? If so, what's in that file? -Eric
Andreychek,
Thanks for your reply. Yes, I do have a file among many other "check" files in /usr/lib/mon/mon.d called http.monitor. Here is what the file looks like:
http://pastebin.com/m788faa9a