pretty-printed mon config file


This report was generated at Tue Jan 23 16:45:11 2001.

Summary stats for this mon configuration file (global settings summary):

Brief Introduction to Time Period Syntax As Used By mon

Jump directly to hostgroups:

  1. dialin <no hosts in group>
  2. ftp (ftp)
  3. hubs (cisco316t, hp800t, ssii10)
  4. mailhost <no hosts in group>
  5. netapps (f330, f540)
  6. news <no hosts in group>
  7. printers (hp5si, hp5c, hp750c)
  8. routers (cisco7000, linuxrouter, agsplus)
  9. serversbd1 (dns-yp1, foo1, bar1)
  10. serversbd2 (dns-yp2, foo2, bar2, ola3)
  11. workstations (blue, yellow, red, green, cornflower, violet)
  12. wwwservers (www)

dialin Hostgroup [back to top]
Members:<no hosts in group>
Monitored Services:555-1212 555-1213
Service details for service 555-1212:
[back to dialin top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:60 minutes
Monitor invoked:dialin.monitor.wrap -n 555-1212 -t 80 ;;
Period:wd {Sun-Sat}
Alertevery:8 hours
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Upalert script 1 called:mail.alert bob
Service details for service 555-1213:
[back to dialin top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:33 minutes
Monitor invoked:dialin.monitor.wrap -n 555-1213 -t 80 ;;
Period:wd {Sun-Sat}
Alertevery:8 hours
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Upalert script 1 called:mail.alert bob



ftp Hostgroup [back to top]
Members:ftp
Monitored Services:ftp
Service details for service ftp:
[back to ftp top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:ftp.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



hubs Hostgroup [back to top]
Members:cisco316t, hp800t, ssii10
Monitored Services:ping
Service details for service ping:
[back to hubs top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:1 minute
Monitor invoked:fping.monitor
Period:wd {Sun-Sat}
Alertevery:45 minutes
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert



mailhost Hostgroup [back to top]
Members:<no hosts in group>
Monitored Services:imap pop smtp telnet
Service details for service imap:
[back to mailhost top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:10 minutes
Monitor invoked:imap.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service pop:
[back to mailhost top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:10 minutes
Monitor invoked:pop3.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service smtp:
[back to mailhost top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:10 minutes
Monitor invoked:smtp.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service telnet:
[back to mailhost top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:10 minutes
Monitor invoked:telnet.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Alert script 2 invoked:When monitor exit code is not equal to 0:
qpage.alert



netapps Hostgroup [back to top]
Members:f330, f540
Monitored Services:freespace
Service details for service freespace:
[back to netapps top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:15 minutes
Monitor invoked:freespace.monitor /f330:5000 /f540:5000 ;;
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



news Hostgroup [back to top]
Members:<no hosts in group>
Monitored Services:nntp ping
Service details for service nntp:
[back to news top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:nntp.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Service details for service ping:
[back to news top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:fping.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



printers Hostgroup [back to top]
Members:hp5si, hp5c, hp750c
Monitored Services:hpnp ping
Service details for service hpnp:
[back to printers top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:hpnp.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Service details for service ping:
[back to printers top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:fping.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



routers Hostgroup [back to top]
Members:cisco7000, linuxrouter, agsplus
Monitored Services:ping
Service details for service ping:
[back to routers top]
Description:routers which connect bd1 and bd2
Dependencies:<no dependencies>
Test interval:1 minute
Monitor invoked:fping.monitor
Period:LOGFILE: wd {Sun-Sat}
Alert script 1 invoked:When monitor exit code is not equal to 0:
file.alert
Period:wd {Sun-Sat}
Alertevery:45 minutes
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert



serversbd1 Hostgroup [back to top]
Members:dns-yp1, foo1, bar1
Monitored Services:ping telnet
Service details for service ping:
[back to serversbd1 top]
Description:ping servers in bd1
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:fping.monitor
Period:PAGE: wd {Mon-Fri} hr {7am-10pm}
Alertevery:2 hours
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Period:wd {Mon-Fri} hr {7am-10pm}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Period:wd {Sat-Sun}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Alert script 2 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service telnet:
[back to serversbd1 top]
Description:telnet to servers in bd1
Dependencies:serversbd1:ping (suppress alerts if dependencies fail)
Test interval:10 minutes
Monitor invoked:telnet.monitor
Period:PAGE: wd {Mon-Fri} hr {7am-10pm}
Alertevery:2 hours
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



serversbd2 Hostgroup [back to top]
Members:dns-yp2, foo2, bar2, ola3
Monitored Services:ping telnet
Service details for service ping:
[back to serversbd2 top]
Description:ping servers in bd2
Dependencies:routers:ping (suppress alerts if dependencies fail)
Test interval:5 minutes
Monitor invoked:fping.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Period:wd {Sat-Sun}
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Alert script 2 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service telnet:
[back to serversbd2 top]
Description:telnet to servers in bd2
Dependencies:routers:ping serversbd2:ping (suppress alerts if dependencies fail)
Test interval:10 minutes
Monitor invoked:telnet.monitor
Period:PAGE: wd {Mon-Fri} hr {7am-10pm}
Alertevery:2 hours
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



workstations Hostgroup [back to top]
Members:blue, yellow, red, green, cornflower, violet
Monitored Services:ping
Service details for service ping:
[back to workstations top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:5 minutes
Monitor invoked:fping.monitor
Period:wd {Sun-Sat}
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert



wwwservers Hostgroup [back to top]
Members:www
Monitored Services:http ping telnet
Service details for service http:
[back to wwwservers top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:4 minutes
Monitor invoked:http.monitor
Period:wd {Sun-Sat}
Alertevery:45 minutes
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Upalert script 1 called:mail.alert -S "web server is back up" joe bob zoomzip
Service details for service ping:
[back to wwwservers top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:2 minutes
Monitor invoked:fping.monitor
Period:wd {Sun-Sat}
Alertevery:45 minutes
Alert script 1 invoked:When monitor exit code is not equal to 0:
qpage.alert
Service details for service telnet:
[back to wwwservers top]
Description:<no description given>
Dependencies:<no dependencies>
Test interval:<no interval specified>
Monitor invoked:telnet.monitor
Period:wd {Mon-Fri} hr {7am-10pm}
Alertafter:2 or more failures in 30 minutes
Alertevery:1 hour
Alert script 1 invoked:When monitor exit code is not equal to 0:
mail.alert
Alert script 2 invoked:When monitor exit code is not equal to 0:
qpage.alert




Alert Summary

[back to top]

AlertNumber of times this alert is usedNumber of hostgroups using this alert
file.alert11
mail.alert1710
qpage.alert146
TOTALS3217


Global Settings Summary

[back to top]

Global VariableValue
alertdir/usr/lib/mon/alert.d
authtypegetpwnam
dep_behaviora
maxprocs20
mondir/usr/lib/mon/mon.d
randstart60s


Monitor Summary

[back to top]

MonitorNumber of times this monitor is usedNumber of hostgroups using this monitorTotal number of times run per 24-hour period
(not counting exclude_periods)
dialin.monitor.wrap2167
fping.monitor885040
freespace.monitor1196
ftp.monitor11288
hpnp.monitor11288
http.monitor11360
imap.monitor11144
nntp.monitor11288
pop3.monitor11144
smtp.monitor11144
telnet.monitor44432
TOTALS22217291


Brief Introduction to Time Period Syntax As Used By mon

[back to top]

mon uses a special syntax to define time periods. Time periods are defined as per the Time::Period perl module. It is a simple and powerful syntax for specifying time periods, but may not be completely intuitive. This brief documentation, an excerpt from the Time::Period documentation, should get you started.

     The period is specified as a string which adheres to the
     format
 
             sub-period[, sub-period...]
 
     or the string "none" or whitespace.  The string "none" is
     not case sensitive.
 
     If the period is blank, then any time period is assumed
     because the time period has not been restricted.  In that
     case, inPeriod returns 1.  If the period is "none", then no
     time period applies and inPeriod returns 0.
 
     A sub-period is of the form
 
             scale {range [range ...]} [scale {range [range ...]}]
 
     Scale must be one of nine different scales (or their
     equivalent codes):
 
             Scale  | Scale | Valid Range Values
                    | Code  |
             *******|*******|************************************************
             year   |  yr   | n     where n is an integer 0<=n<=99 or n>=1970
             month  |  mo   | 1-12  or  jan, feb, mar, apr, may, jun, jul,
                    |       |           aug, sep, oct, nov, dec
             week   |  wk   | 1-6
             yday   |  yd   | 1-365
             mday   |  md   | 1-31
             wday   |  wd   | 1-7   or  su, mo, tu, we, th, fr, sa
             hour   |  hr   | 0-23  or  12am 1am-11am 12noon 12pm 1pm-11pm
             minute |  min  | 0-59
             second |  sec  | 0-59