12-30-2011
Hi funksen, Thanks all these servers belong to our client so he may not allow us to install such tools. Even he does there is lot of approval process which takes few months of time.
We initially thought of sending mails only of file systems > 90% but what our management is really looking at is a daily complete well formatted report.
-Ajay
Quote:
Originally Posted by
funksen
this seems to be a weird way to monitor the disk usage of your servers.
why don't you just send mails with the filesystems with a usage greater 90%? then you don't have to read through all filesystems
if this systems are in your responsibility, consider using a monitoring tool such as xymon
red : Xymon - Status @ Thu Dec 29 11:01:22 2011
and trigger mails from the monitoring server
10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
:( Hi All,
i have 4 linux server for which i want set up script to monitor the disk space ...
here my problem is i want the output like graph...
also it should reflect in monitor ...as non stop process..
can any one suggest me any way where i can implement the script?
... (3 Replies)
Discussion started by: Shahul
3 Replies
3. Shell Programming and Scripting
do you have any simple script on how to change the color and font of a string in a script example
echo "===================================="
echo " sample color script"
echo "===================================="
echo " hello "
echo " bye"
on hello,... (3 Replies)
Discussion started by: lhareigh890
3 Replies
4. Shell Programming and Scripting
Hi Experts,
I want to get my shell script output in a color for a particular word. PFB my output.
TT.QM.JTV1S1 TLORSBT2.JMR701T1.C1 REPOS
TT.QM.JTV1R1 TLORSBF2.JMR701T1.C1 NORMAL
whenever REPOS word comes then entire line should come in red color. Can you please help me... (4 Replies)
Discussion started by: darling
4 Replies
5. Shell Programming and Scripting
I am very new to unix and Linux, So I have a question about LINUX and AIX.
What LINUX and AIX commands can be used to get the following output:
071912 GB blocks Free %Iused Mounted on
071912 5.00 4.64 8% /
071912 15.00 9.44 38% /usr
071912 6.00 2.56 58% /var
071912 15.00 12.88 15% /tmp... (1 Reply)
Discussion started by: najeemsarwat
1 Replies
6. Shell Programming and Scripting
Hi All,
Hope all are doing good!! Am glad that i have utilized some ideas and written a code to make the disk space result comes better and it was successfully running in the production. The next update from my manager was to make this code to come in a table format with color added.
1)... (28 Replies)
Discussion started by: Kalaihari
28 Replies
7. 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
8. 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
9. UNIX for Beginners Questions & Answers
Running this code
df -h | head -2 | awk '{print $8}'
Gives me the following output:
%iused
6%
What I'm trying to do is get the 6% but I'm having trouble doing this using cut -c, I think that this could be because the text is on different lines; is there a way of doing this? (8 Replies)
Discussion started by: $shell_Learner
8 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
hobbitping
HOBBITPING(1) General Commands Manual HOBBITPING(1)
NAME
hobbitping - Xymon ping tool
SYNOPSIS
hobbitping [--retries=N] [--timeout=N] [IP-adresses]
DESCRIPTION
hobbitping(1) is used for ping testing of the hosts monitored by the xymon(7) monitoring system. It reads a list of IP adresses from stdin,
and performs a "ping" check to see if these hosts are alive. It is normally invoked by the bbtest-net(1) utility, which performs all of
the Xymon network tests.
Optionally, if a list of IP-adresses is passed as commandline arguments, it will ping those IP's instead of reading them from stdin.
hobbitping only handles IP-adresses, not hostnames.
hobbitping was inspired by the fping(1) tool, but has been written from scratch to implement a fast ping tester without much of the over-
head found in other such utilities. The output from hobbitping is similar to that of "fping -Ae".
hobbitping probes multiple systems in parallel, and the runtime is therefore mostly dependant on the timeout-setting and the number of
retries. With the default options, hobbitping takes approximately 18 seconds to ping all hosts (tested with an input set of 1500 IP
adresses).
SUID-ROOT INSTALLATION REQUIRED
hobbitping needs to be installed with suid-root privileges, since it requires a "raw socket" to send and receive ICMP Echo (ping) packets.
hobbitping is implemented such that it immediately drops the root privileges, and only regains them to perform two operations: Obtaining
the raw socket, and optionally binding it to a specific source address. These operations are performed as root, the rest of the time hob-
bitping runs with normal user privileges. Specifically, no user-supplied data or network data is used while running with root privileges.
Therefore it should be safe to provide hobbitping with the necessary suid-root privileges.
OPTIONS
--retries=N
Sets the number of retries for hosts that fail to respond to the initial ping, i.e. the number of ping probes sent in addition to
the initial probe. The default is --retries=2, to ping a host 3 times before concluding that it is not responding.
--timeout=N
Determines the timeout (in seconds) for ping probes. If a host does not respond within N seconds, it is regarded as unavailable,
unless it responds to one of the retries. The default is --timeout=5.
--responses=N
hobbitping normally stops pinging a host after receiving a single response, and uses that to determine the round-trip time. If the
first response takes longer to arrive - e.g. because of additional network overhead when first determining the route to the target
host - it may skew the round-trip-time reports. You can then use this option to require N responses, and hobbitping will calculate
the round-trip time as the average of all of responsetimes.
--max-pps=N
Maximum number of packets per second. This limits the number of ICMP packets hobbitping will send per second, by enforcing a brief
delay after each packet is sent. The default setting is to send a maximum of 50 packets per second. Note that increasing this may
cause flooding of the network, and since ICMP packets can be discarded by routers and other network equipment, this can cause
erratic behaviour with hosts recorded as not responding when they are in fact OK.
--source=ADDRESS
Use ADDRESS as the source IP address of the ping packets sent. On multi-homed systems, allows you to select the source IP of the
hosts going out, which might be necessary for ping to work.
--debug
Enable debug output. This prints out all packets sent and received.
SEE ALSO
xymon(7), bbtest-net(1), fping(1)
Xymon Version 4.2.3: 4 Feb 2009 HOBBITPING(1)