09-23-2008
hobbit monitor is a compilation of scripts to check disk space, and also scpu and memory and other stuff
it also creates grapichs with rrdtools
or you can make your own script and use rrdtools directly, but why re-invent the wheel ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This my frustrating disk space script that is supposed to send me a email whenever the disk space reaches 90% but this has some problem that just would not work ..can anyone please tell me when im going wrong
#!/bin/ksh
sendemail=-1
space=`df -bhk /users/siebelserver |awk '{print$5}'`
echo... (4 Replies)
Discussion started by: vivsiv
4 Replies
2. Shell Programming and Scripting
Hi all,
Can any one help me in making a disk space script in solaris 8/9
for instance i only want to get those partitions whose diskspace has exceed 70%.
Any volunteer?
Cheers!
BR/asad (8 Replies)
Discussion started by: asadlone
8 Replies
3. Shell Programming and Scripting
#!/bin/bash
# Disk Space Monitoring for more than 95 %
# and Sending Alerts by Mail
if ;
then
`df -k |awk '$5 > 95 {print $1 " ----------- " $5}' |mailx -s "More than 95% disk usage in DEV" email@test.com';
else
exit 0
fi
I get the... (8 Replies)
Discussion started by: sriram003
8 Replies
4. Shell Programming and Scripting
I have a disk space check script that uses an exceptions file, the only issue with the script is that it does not work with values higher than the FSMAX=85 value. I have a file system that is at 92% and it doesn't change, so I would like to add it to the exceptions file. The exceptions file format... (0 Replies)
Discussion started by: maddhadder71
0 Replies
5. Shell Programming and Scripting
Hi,
I wrote the following script for monitoring disk space and inform the concerned team accordingly. But script gives me below error
syntax error at line 70 : `<' unmatched
#!/bin/ksh
. /home/scr/.profile
. /home/scr/.infa_env
# Get the list of Integration Services
... (6 Replies)
Discussion started by: svajhala
6 Replies
6. Shell Programming and Scripting
It's the old thread "Disk Space Monitoring Script", modified for UNIX
This is the new code:
df -k | awk ' { if ( int($4) > 90)
{subject = $1 " More than 90% disk usage. Used: " $4
email = "email@test.com"
print subject
cmd = "mailx -s \"" subject "\" " email
cmd | getline... (4 Replies)
Discussion started by: dungureanu
4 Replies
7. Solaris
We have a script which when run consumes the space of the disk from where it is being run. we have to kill this script every time to release space.
why do this happen ? any work around please
we are using solaris 10
P.S. : a part of the code will make some connection to the DB (1 Reply)
Discussion started by: chidori
1 Replies
8. Shell Programming and Scripting
Hi,
I am working on Sun Solaris 5.10 and want to direct the output from a disk space check script to an output file;
#!/bin/bash
CURRENT=$(df -k /log/logs | grep /log/logs | awk '{ print $5}' | sed 's/%//g')
THRESHOLD=30
if ; then
echo "Remaining free space is low" > output.txt
else... (10 Replies)
Discussion started by: SSKAAB
10 Replies
9. Shell Programming and Scripting
i want to write a shell script,when disk uses is 90% then automatically send a email to distribution list (group member)...... (1 Reply)
Discussion started by: sonu pandey
1 Replies
10. UNIX for Beginners Questions & Answers
i have 3 servers and i am checking for the disk space of a specific mount-point, should not be more than 85 %
considering example as below
server1 mountpoint_1 has 70% diskutilization
server2 mountpoint_1 has 80% diskutilization
server3 mountpoint_1 has 7% diskutilization
now when it... (6 Replies)
Discussion started by: abhaydas
6 Replies
LEARN ABOUT DEBIAN
hobbitd_client
HOBBITD_CLIENT(8) System Manager's Manual HOBBITD_CLIENT(8)
NAME
hobbitd_client - hobbitd worker module for client data
SYNOPSIS
hobbitd_channel --channel=client hobbitd_client [options]
DESCRIPTION
hobbitd_client is a worker module for hobbitd, and as such it is normally run via the hobbitd_channel(8) program. It receives hobbitd
client messages sent from systems that have the the Xymon client installed, and use the client data to generate the Xymon status messages
for the cpu-, disk-, memory- and procs-columns. It also feeds Xymon data messages with the netstat- and vmstat-data collected by the
client.
When generating these status messages from the client data, hobbitd_client will use the configuration rules defined in the hobbit-
clients.cfg(5) file to determine the color of each status message.
OPTIONS
--clear-color=COLOR
Define the color used when sending "msgs", "files" or "ports" reports and there are no rules to check for these statuses. The
default is to show a "clear" status, but some people prefer to have it "green". If you would rather prefer not to see these status
columns at all, then you can use the "--no-clear-msgs", "--no-clear-files" and "--no-clear-ports" options instead.
--no-clear-msgs
If there are no logfile checks, the "msgs" column will show a "clear" status. If you would rather avoid having a "msgs" column, this
option causes hobbitd_client to not send in a clear "msgs" status.
--no-clear-files
If there are no file checks, the "files" column will show a "clear" status. If you would rather avoid having a "files" column, this
option causes hobbitd_client to not send in a clear "files" status.
--no-clear-ports
If there are no port checks, the "ports" column will show a "clear" status. If you would rather avoid having a "ports" column, this
option causes hobbitd_client to not send in a clear "ports" status.
--no-ps-listing
Normally the "procs" status message includes the full process-listing received from the client. If you prefer to just have the moni-
tored processes shown, this option will turn off the full ps-listing.
--no-port-listing
Normally the "ports" status message includes the full netstat-listing received from the client. If you prefer to just have the moni-
tored ports shown, this option will turn off the full netstat-listing.
--config=FILENAME
Sets the filename for the hobbit-clients.cfg file. The default value is "etc/hobbit-clients.cfg" below the Xymon server directory.
--dump-config
Dumps the configuration after parsing it. May be useful to track down problems with configuration file errors.
--test Starts an interactive session where you can test the hobbit-clients.cfg configuration.
--debug
Enable debugging output.
FILES
~xymon/server/etc/hobbit-clients.cfg
SEE ALSO
hobbit-clients.cfg(5), hobbitd(8), hobbitd_channel(8), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBITD_CLIENT(8)