Setup guide
[admin@Wandy] system scheduler> add interval=7d name="email-backup" \
\... on-event=e-backup
[admin@Wandy] system scheduler> print
Flags: X - disabled
# NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 email-... e-backup oct/30/2008 15:19:28 7d 1
[admin@Wandy] system scheduler>
Do not forget to set the e-mail settings, i.e., the SMTP server and From: address under /tool e-mail.
For example:
[admin@Wandy] tool e-mail> set server=159.148.147.198 from=SysAdmin@host.com
[admin@Wandy] tool e-mail> print
server: 159.148.147.198
from: SysAdmin@host.com
[admin@Wandy] tool e-mail>
Example below will put 'x' in logs each hour from midnight till noon:
[admin@Wandy] system script> add name=enable-x source={/system scheduler
{... enable x}
[admin@Wandy] system script> add name=disable-x source={/system scheduler
{... disable x}
[admin@Wandy] system script> add name=log-x source={:log message=x}
[admin@Wandy] system script> .. scheduler
[admin@Wandy] system scheduler> add name=x-up start-time=00:00:00 \
\... interval=24h on-event=enable-x
[admin@Wandy] system scheduler> add name=x-down start-time=12:00:00
\... interval=24h on-event=disable-x
[admin@Wandy] system scheduler> add name=x start-time=00:00:00 interval=1h \
\... on-event=log-x
[admin@Wandy] system scheduler> print
Flags: X - disabled
# NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 x-up enable-x oct/30/2008 00:00:00 1d 0
1 x-down disab... oct/30/2008 12:00:00 1d 0
2 x log-x oct/30/2008 00:00:00 1h 0
[admin@Wandy] system scheduler>
Network Watching Tool
Specifications
Packages required: advanced-tools
License required: level1
tool netwatch
Standards and Technologies: none
Hardware usage: Not significant
Description
Netwatch monitors state of hosts on the network. It does so by sending ICMP pings to the list of
specified IP addresses. For each entry in netwatch table you can specify IP address, ping interval
and console scripts. The main advantage of netwatch is it's ability to issue arbitrary console
commands on host state changes.
Property Description
host (IP address; default: 0.0.0.0) - IP address of host that should be monitored