Command Reference Guide

Chapter 2: mx Commands 73
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
Display status for network interfaces:
mx netif status [--up|--down] [--enabled|--disabled]
[--admin|--noadmin] [--active] [<interface_ip> ...]
--up|--down selects network interfaces that are either operational or down.
--enabled|--disabled selects interfaces that are either enabled or disabled
for virtual hosting. --admin|--noadmin selects interfaces that either allow
or discourage administrative traffic. --active selects interfaces that are
currently handling administrative traffic.
mx notifier – notifier commands
Use the following commands to manage notifiers or to display their status.
Add a notifier:
mx notifier add --script <script> [--event <{STATE|INFO|
WARN|ERROR|CRITICAL|FATAL},...>] [--entity <{SERVERS|IFACES|
VHOSTS|SERVICEMONITORS|DEVICEMONITORS|FILESYSTEMS},...>]
<notifier>
The <notifier> name can include up to 32 characters.
Update a notifier:
mx notifier update [--script <script>] [--event <{STATE|
INFO|WARN|ERROR|CRITICAL|FATAL},...>] [--entity {SERVERS|
IFACES|VHOSTS|SERVICEMONITORS|DEVICEMONITORS|FILESYSTEMS},...]
<notifier>
Delete a notifier:
mx notifier delete <notifier> ...
Enable a notifier:
mx notifier enable <notifier> ...
Disable a notifier:
mx notifier disable <notifier> ...
Display status for notifiers:
mx notifier status [--enabled|--disabled] [<notifier> ...]
Test a notifier:
mx notifier test <notifier> ...