updated the readme
This commit is contained in:
parent
2c6d536c15
commit
d8bdb4bdba
|
@ -1,16 +1,31 @@
|
|||
|
||||
|
||||
this is my little mobot project.
|
||||
|
||||
the concept is not to spend hundreds of hours to implement some massive monitoring tool like nagios or something like this. instead i want to use some simple message/notification scripts which exactly tell me what i need to know.
|
||||
|
||||
the first thing i got here is the df bot. it sends me a short jabber message when one or more disks on the serving machine are reaching a preconfigured threshold (example: 90% disk usage).
|
||||
|
||||
the first thing i have here is the df bot. it sends me a short jabber message when one or more disks on the serving machine reaching a preconfigured threshold (example: 90% disk usage).
|
||||
|
||||
feel free to use or improve this handy tool!
|
||||
|
||||
|
||||
=== Installation ===
|
||||
# tested with ubuntu 10.04
|
||||
=== how to use the df bot (install notes) ===
|
||||
|
||||
..nothing here yet..
|
||||
1. copy the df.sh scrip somewhere on the machine
|
||||
you get the df.sh on gitorious.org
|
||||
http://gitorious.org/sn/scripts/trees/master/mobots/df.sh
|
||||
|
||||
2. create the configfile
|
||||
use the df.conf.sample to create a config and put this file anywhere on the same machine
|
||||
http://gitorious.org/sn/scripts/trees/master/mobots/df.conf.sample
|
||||
|
||||
3. create a cronjob for it
|
||||
add a line like this to your /etc/crontab (here the script is executed all 2 minutes)
|
||||
*/2 * * * * root /bin/bash --login /path/to/the/script/df.sh /path/to/configfile/df.conf >> /path/to/logfile/df.log
|
||||
|
||||
of course there are several ways to create a cronjob but this is probably the easiest way
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
any questions? mail me! (david@socialnerds.org)
|
||||
|
|
Loading…
Reference in New Issue