summaryrefslogtreecommitdiff
path: root/netsaint
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2001-09-18 10:03:15 +0000
committerJonas Smedegaard <dr@jones.dk>2001-09-18 10:03:15 +0000
commit6a4ea02a71d789ec9082fe0fdb3c24ef11c26058 (patch)
treec129d186a2d9ec4f3e3d0e595d187963b44dffdd /netsaint
parent93535344e428fc946754653d741ef85d813138ac (diff)
Adding netsaint/*
Diffstat (limited to 'netsaint')
-rw-r--r--netsaint/hosts.cfg73
1 files changed, 73 insertions, 0 deletions
diff --git a/netsaint/hosts.cfg b/netsaint/hosts.cfg
new file mode 100644
index 0000000..6b22e77
--- /dev/null
+++ b/netsaint/hosts.cfg
@@ -0,0 +1,73 @@
+timeperiod[24x7]=24 Hours A Day, 7 Days A Week;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00
+timeperiod[workhours]="Normal" Working Hours;;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;
+timeperiod[nonworkhours]=Non-Work Hours;00:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-24:00
+timeperiod[none]=No Time Is A Good Time;;;;;;;
+
+# Localhost
+#host[localhost]=Localhost;127.0.0.1;;check-host-alive;10;120;24x7;1;1;1;
+# A-Host
+host[ah_nat]=A-Host NAT;212.130.44.2;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_ftp]=A-Host ftp;212.130.44.10;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_mail2]=A-Host Mail2;212.130.44.12;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_list]=A-Host List;212.130.44.13;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_web]=A-Host Web;212.130.44.15;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_rudi]=A-Host Rudi;212.130.44.16;;check-host-alive;10;120;24x7;1;1;1;
+host[ah_ns]=A-Host Nameserver;212.130.44.100;;check-host-alive;10;120;24x7;1;1;1;
+# Homebase
+host[hb_cisco]=Homebase Cisco Router;194.239.159.1;;check-host-alive;10;120;24x7;1;1;1;
+host[hb_squash]=Homebase Squash;194.239.159.10;;check-host-alive;10;120;24x7;1;1;1;
+host[hb_baldur]=Homebase Baldur;194.239.159.9;;check-host-alive;10;120;24x7;1;1;1;
+# Jones
+host[js_bastian]=Jones Bastian;212.130.44.81;;check-host-alive;10;120;24x7;1;1;1;
+host[js_ror]=Jones ROR;212.130.44.18;;check-host-alive;10;120;24x7;1;1;1;
+host[js_xerxes]=Jones Xerxes;213.237.9.231;;check-host-alive;10;120;24x7;1;1;1;
+#host[js_wetware]=Jones Wetware;213.237.41.135;;check-host-alive;10;120;24x7;1;1;1;
+host[js_macvaerk]=Jones Macvaerk;195.249.140.194;;check-host-alive;10;120;24x7;1;1;1;
+host[js_pierre]=Jones Pierre Suites;216.15.34.134;;check-host-alive;10;120;24x7;1;1;1;
+
+hostgroup[ah]=All A-Host Servers;ah_admins;ah_nat,ah_ftp,ah_mail2,ah_list,ah_web,ah_rudi,ah_ns
+hostgroup[hb]=All Homebase Servers;hb_admins;hb_cisco,hb_squash,hb_baldur
+hostgroup[js]=All Jones Servers;js_admins;js_bastian,js_ror,js_macvaerk,js_pierre,js_xerxes
+
+command[notify-by-email]=/bin/echo -e '***** NetSaint 0.0.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$
+command[notify-by-epager]=/bin/echo -e "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$
+command[host-notify-by-email]=/bin/echo -e "***** NetSaint 0.0.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' $CONTACTEMAIL$
+command[host-notify-by-epager]=/bin/echo -e "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$' $CONTACTPAGER$
+
+contact[jones]=Root;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;dr@jones.dk;
+contact[obs]=Root;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;obs@adamatic.dk;
+contact[anderskr]=Root;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;anderskr@homebase.dk;
+
+contactgroup[ah_admins]=Administrators;jones,obs
+contactgroup[hb_admins]=Administrators;anderskr,jones
+contactgroup[js_admins]=Administrators;jones
+
+# Localhost
+#service[localhost]=PING;0;24x7;3;3;1;admins;120;24x7;1;1;1;;check_ping
+#service[localhost]=LOAD;0;24x7;3;3;1;admins;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
+#service[localhost]=Current Users;0;24x7;3;5;2;admins;240;24x7;1;1;1;;check_users!75!150
+#service[localhost]=Zombie Processes;0;24x7;3;5;2;admins;240;24x7;1;1;1;;check_procs!5!10!Z
+#service[localhost]=Total Processes;0;24x7;3;5;2;admins;240;24x7;1;1;1;;check_procs!200!300
+# A-Host
+service[ah_mail2]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_mail2]=LOAD;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_load!5!10!2!5!1!2
+service[ah_mail2]=Current Users;0;24x7;3;5;2;ah_admins;240;24x7;1;0;1;;check_users!75!150
+service[ah_mail2]=Zombie Processes;0;24x7;3;5;2;ah_admins;240;24x7;1;0;1;;check_procs!5!10!Z
+service[ah_mail2]=Total Processes;0;24x7;3;5;2;ah_admins;240;24x7;1;0;1;;check_procs!200!300
+service[ah_nat]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_rudi]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_ns]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_ftp]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_web]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+service[ah_list]=PING;0;24x7;3;3;1;ah_admins;120;24x7;1;0;1;;check_ping
+# Homebase
+service[hb_cisco]=PING;0;24x7;3;3;1;hb_admins;120;24x7;1;0;1;;check_ping
+service[hb_squash]=PING;0;24x7;3;3;1;hb_admins;120;24x7;1;0;1;;check_ping
+service[hb_baldur]=PING;0;24x7;3;3;1;hb_admins;120;24x7;1;0;1;;check_ping
+# Jones
+service[js_bastian]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping
+service[js_xerxes]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping
+service[js_ror]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping
+service[js_pierre]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping
+service[js_macvaerk]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping
+#service[js_wetware]=PING;0;24x7;3;3;1;js_admins;120;24x7;1;0;1;;check_ping