the entries are not sorted by name the output from "monit summary", the sl_cs and rootfs are defined in a file calle system, all others are in seperate files named for the target, so process csl3 is defined in a file called csl3, and so on
The Remote Host entries appear to be sorted in reverse alpa sequence but there is no overall order I can see Process 'transferd' running System 'sl_cs' running Filesystem 'rootfs' accessible File 'primary' accessible Process 'openvpn_server' running Process 'ntpd' running Process 'named' running Process 'dbtrig' running Process 'dblog' running File 'database' accessible Process 'csl3' running Process 'cs_msl3' running Process 'checkntpd' running Remote Host 'bsc9' online with all services Remote Host 'bsc8' online with all services Remote Host 'bsc7' online with all services Remote Host 'bsc6' online with all services Remote Host 'bsc5' online with all services Remote Host 'bsc35' online with all services On 8 June 2011 13:07, Jan-Henrik Haukeland <[email protected]> wrote: > > On Jun 8, 2011, at 1:35 PM, Nick Upson wrote: > > > I have each check in a seperate file, when the computer boots the checks > (monit summary) are not in any obvious order. I want to put them into a > specific order but cannot see how to do this > > In that case Monit does a glob * on all your check files and they are > included in Monit as glob returns them, probably alphabetically sorted on > file name. (Much the same way as 'ls *' returns a sorted file list). > > > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general > -- Nick Upson (01799 533252)
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
