How do I add IP addresses to the set monitored by ipwatch?
ipwatch, usually scheduled to run via cron, currently as the net user on mil.doit.wisc.edu, monitors usage based on a list of IP addresses stored in an ipwatch data file – usually ipwatch.dat. You can see its help/usage information like this: $ ipwatch -h # show help (usage) info When you’d like to add an IP address or set of IP addresses to either create or add to an existing data file, do this: As as either the net user (su – net from your rootyou account) or some other net group user (newgrp – net) with umask 02: $ cd /opt/net/ipwatch $ rm -f ipwatch.save $ cp -p ipwatch.dat ipwatch.save # just in case you mistype the ipwatch args $ ipwatch -v -i n.n.n.1-n.n.n.255 -u hostmaster … this will cause a sample “run” to occur, so it will take a couple minutes. (Because of this, if you’re adding lots of sub-nets or IPs, it’s best to do them all at once – with one ipwatch invocation and a comma-delimited list as the -i argument: $ ipwatch -i n.n.n.1-n.n.n.255,n.n.n2.1-n.n.n2.255 ) Anyway,