reports from the command line.

Is there a way to get reports from the command line about various limits and quota for domains hosted on VMP server.

I have been exploring the virtualmin command (and all its sub commands) but cannot find any way to get the information i need yet - perhaps there is a reporting system i am unaware of?

I have a NAGIOS Core system that everything i have reports to, i am monitoring base functions on this server but would like to expand my errors/warnings to include domains who are about to exceed their hard limit etc...

Also - the "System and Server Status" is able to send SNMP to my NAGIOS core.. is there a MIB for virtualmin that would help me decode the SNMP trap?



You could use the command-line API for this - for example, to get full details about a domain you can run :

virtualmin list-domains --domain --multiline