n2
diff n2rxd.example.conf @ 1:cf3e5601ce5d
Added tag 1.0 for changeset 62e648c9378d
| author | Peter van Dijk <peter@xlshosting.com> |
|---|---|
| date | Fri Apr 03 18:22:47 2009 +0200 (2009-04-03) |
| parents | |
| children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/n2rxd.example.conf Fri Apr 03 18:22:47 2009 +0200 1.3 @@ -0,0 +1,64 @@ 1.4 +! n2rxd - netload2 receiver daemon configuration 1.5 +! 1.6 +! change this to bind n2rxd to a specific ip address or a different 1.7 +! port 1.8 +! 1.9 +ip bind address 0.0.0.0 port 4444 1.10 +! 1.11 +! Log settings 1.12 +! 1.13 +log type all 1.14 +log file /var/log/n2/n2rxd.log 1.15 +! 1.16 +! Default trigger levels for alert states 1.17 +! 1.18 +default rtt-alert 20 1.19 +default rtt-warning 40 1.20 +default swap-warning 4096 1.21 +default swap-alert 1024 1.22 +default ram-alert 1024 1.23 +default ram-warning 4096 1.24 +default cpu-alert 95 1.25 +default cpu-warning 90 1.26 +default loadavg-alert 15 1.27 +default loadavg-warning 4 1.28 +default loss-alert 30 1.29 +default loss-warning 5 1.30 +! 1.31 +! A monitor-group is a collection of hosts that share a common 1.32 +! set of trigger values. Monitor-groups may be super- or 1.33 +! subsets of other monitor-groups with more specific settings. 1.34 +! The acl mask is in cisco notation (0.0.0.255 is a /24). 1.35 +! 1.36 +monitor-group 192.168.1.0 0.0.0.255 1.37 + key zIjlJn4O$k@JhrjeuYriryU$lPnmaRaH 1.38 + rtt-warning 35 1.39 + rtt-alert 150 1.40 + loadavg-warning 2.0 1.41 + loadavg-alert 5.0 1.42 + loss-warning 10 1.43 + loss-alert 30 1.44 + sockstate-warning 20 1.45 + sockstate-alert 50 1.46 +! 1.47 +! A more-specific monitor group, adding exceptions for a single 1.48 +! host. 1.49 +! 1.50 +monitor-group 192.168.1.15 0.0.0.0 1.51 + key 84ufyqeroqwerOizuYqwe 1.52 + loss-warning 101 1.53 + loss-alert 102 1.54 +! 1.55 +! A host-group binds multiple hosts together in the n2view 1.56 +! interface (and the output of the n2group command) 1.57 +! 1.58 +host-group mobile-stations 1.59 + member network 192.168.1.128 0.0.0.127 1.60 + member host 10.0.1.18 1.61 +! 1.62 +host-group desktop-stations 1.63 + member network 192.168.1.64 0.0.0.63 1.64 +! 1.65 +host-group servers 1.66 + member network 192.168.1.0 0.0.0.63 1.67 +!
