Argus - The All Seeing, System and Network Monitoring Software

Home
Features
Testimonials
Screen Shots
Demo
Download
Docs
History
Future
Links
Contributing
Mailing List
Contacting

Example Config

# locations of various items on web pages
# these are relative URLs.
# you may need to check the documentation for your web server
sirensong:	/argus/whoopwhoop.wav
bkgimage:	/argus/argus.logo.gif
icon:		/argus/smile.gif
icon_down:	/argus/sadred.gif
nospkr_icon:	/argus/nospkr.gif
# it is best to put local changes in separate files
# instead of modifying the originals
style_sheet:	/argus/argus.css  /argus_local.css
javascript:	/argus/argus.js   /argus_local.js

# send messages to syslog
syslog:		daemon

# who should be notified when things break?
notify:		mail:support@example.com

# enable built in tcp test port
test_port:	3074

Group "Example" {
    Group "Servers" {
        frequency: 60
        Host "eury" {
            hostname: eury.example.com
            # monitor a bunch of network services
            Service TCP/HTTP
            Service UDP/DNS
            Service UDP/Domain/example.com
            Service UDP/NFS
            Service Ping
            Service TCP {
                # notify someone different when this breaks
                notify:    mail:loco-support@example.com
                label:     LoCo
                info:      in-house LoCo server
                port:      87
                readhow:   banner
                send:      HELO\n
                expect:    200 OK
            }
            Service TCP/URL {
                label:    SQL
                url:      http://www.example.com/cgi-bin/dbtest.pl
                expect:   DATABASE OK
            }
        }
        Host "pen" {
            hostname: pen.example.com
            Service TCP/SMTP
            Service UDP/DNS
            Service UDP/NFS
            Service Ping
        }
        Host "gw" {
            hostname: 192.168.200.1
            community: public
            Service Ping
            Service UDP/SNMP {
                label:    foo
                oid:      .1.3.6.1.2.1.2.2.1.7.2
                eqvalue:  1
            }
            Service UDP/SNMP/OperStatus.2 {
                eqvalue: 1
            }
        }
    }

    Alias "Bar" "Top:Foo:Colo"

    Group "World Reachability" {
        countstop:    yes
        frequency:    10mins
        sendnotify:   yes

        Group "Root Servers" {
            # do not send a notification if only some are down
            # only if they are all down
            gravity:        up

            Service Ping {
            	label:      A
            	hostname:   a.root-servers.net
            	sendnotify: no
            }
            Service Ping {
            	label:      B
            	hostname:   b.root-servers.net
            	sendnotify: no
            }
            Service Ping {
            	label:      C
            	hostname:   c.root-servers.net
            	sendnotify: no
            }
        }
    }
}