Server :: Smartd Configuration Options - Monitoring And Logging

Jun 28, 2011

I'm having some trouble understanding the smartd configuration options which go in /etc/smartd.conf. I've had smartd running for close to a year now, and read the manual page for smartd and smartd.conf several times, and I still can't get my head around it properly. This is what I use in smartd.conf:
/dev/sda -H -f -S on -o on -n standby,q
-s (O/../.././(00|06|12|18)|S/../.././11|L/../../(3|6)/21)
-m <nomailer> -M exec /usr/sbin/smartd_mailer
The above works fine (I use a custom script because I use exim). However, I had two failing hard-disks on two different machines (sector pending attribute) - but I would only receive warning emails if I restarted the machines - not when the periodic tests were being performed. I have a number of questions, if any of you would like to share some light on this:

1. It is not clear from the manual page how the monitoring and alerting mode works. Do I get an initial email when I start smartd if something is wrong, and then no other warning email after each scan, even if there is a fault, unless the fault goes worse?
2. Can I force it to send me warning emails after each test (offline, online, short, long etc.) if the fault condition is still there, even if it hasn't gotten worse?
3. There seem to be a variety of parameters monitored. I was thinking that if I monitor bad sectors, and the hdd temperature - it should be enough to warn me when the hard-disk is failing? Would the -a switch in smartd.conf cover these?
4. I don't understand the difference between monitoring and logging in relation to alerts? Do I get alerts only if I log things?
5. Do I understand correctly that the -p and -u switch would warn me of *any* changes in SMART attributes, even if they don't represent risk of failure?
6. Is there a way of finding out if the scheduled tests (offline, long, short etc.) have been performed?

View 1 Replies


ADVERTISEMENT

Security :: SIEM - Logging - Correlating - Monitoring

Sep 30, 2010

I'm going to start monitoring our Linux servers with a log management/correlation tool to take a proactive approach to the security of our systems.

Right now I'm going to search for log events that include the following:

Any other commands or logs that would be good to correlate or be alerted on when a potential breach or suspicous activity is happening on the box? Logging cleared, permission changes on accounts or particular files or directories? What would you want to see while monioring your servers?

View 3 Replies View Related

Server :: Configuration Options Repositories Developers Use?

Aug 23, 2010

I am trying to build minimal php and mysql binaries. While doing so, I realize that there is no documentaries to state whether does compiling straight from the source without any configurations options set, ensure an optimized yet minimal build? I am trying out for my own personal website which will be powered by Wordpress 3. The previous method I used was using the package manager: "apt-get install php-cgi php5-cgi php5-cli php5-mysql mysqld mysql-server mysql mysql-client". I am trying out to mimic the binaries installed by the package manager through building from the sources instead. How do I know what configuration options did those repositories developers used? Is there any special configuration options used for those minimal yet optimized binaries? Does doing the following ensure a minimal build?:

1) ./configure
2) make
3) install

I figured since I did not use any configuration options, therefore it should be a minimal build right (Meaning the bare-bones)?

View 4 Replies View Related

Red Hat / Fedora :: Smartd For IBM RAID Server(redhat)?

Aug 13, 2010

I am using smartd for monitoring disk's status and i am using smartmontools-5.39.1.tar.gz package for compilation. I am able to compile and run it on HP servers(redhat). Now,i need to execute it for IBM RAID SERVERS too on which compilation is done but i need to configure smartd.conf for them so as to monitor all existing disks. (only DEVICESCAN works in conf file). Rest devices to monitor(eg. ata, sda devices) don't work at all. it is possible in IBM raid servers and if yes, then what configurations should i use.

View 1 Replies View Related

Software :: SU Logging Configuration On RHEL 5.4?

May 14, 2010

I believe that SU log messages are supposed to be appended to /var/log/messages but I'm not getting any log entries. I edited the /etc/syslog.conf and added the line below

su.* /var/log/sulog

Then ran /etc/rc.d/init.d/syslog restart (I also ran this prior to editing the syslog.conf file just in case). I'm still not getting any SU log messages.

View 2 Replies View Related

Server :: Log File Monitoring Script On Server But After An Auto Update Recently It Seems To Have Disapperaed?

Jun 28, 2010

I used to have a log file monitoring script on my server but after an auto update recently it seems to have disapperaed.Can anyone think of some log file analyzers that send outputs of ssh, amount of disk space used etc. as I cannot remember the name of the program at all.

View 1 Replies View Related

General :: PHP Installation And Configuration Options

Feb 26, 2010

What are the standard, common PHP extensions that should be enabled when configuring a new php installation? I need ldap so I know I should include that, but what do most LAMP servers configure with their PHP installs?

View 2 Replies View Related

Debian Configuration :: IPTables Logging Rules Dropping WiFi Connection

Dec 1, 2015

I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.

By dead I mean I can no longer open a webpage or ping google.

iptables -N LOGGING
iptables -A INPUT -j LOGGING
iptables -A OUTPUT -j LOGGING
iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
iptables -A LOGGING -j DROP

View 9 Replies View Related

Debian Configuration :: Shorewall (Shoreline?) Firewall Up And Running, But It's Logging To /var/log/messages?

Jan 29, 2011

I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.

View 9 Replies View Related

Debian Configuration :: Mount Options Of Root Partition

Apr 28, 2016

I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.

In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".

By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.

When I try the "startx" command, I get a "read-only" error.

With the command "sudo mount -o rw,remount /" the graphic interface is started.

Below is the configuration of the partition under the gnome disk utility tool :

"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked

Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto

I do not want to change anything that could leat to a critical error. So what do you think I should do ?

View 1 Replies View Related

Debian Configuration :: Properly Pass The Options To A Module?

Oct 26, 2010

I'm running Testing and need to pass some parameters to my bttv tv tunner card, for this reason I created the following file /etc/modprobe.d/kozumi.conf with this content:

alias char-major-81 videodev
alias char-major-81-0 bttv
options pll=1 radio=1 bttv_verbose=1 card=151 tuner=38 gbuffers=4

The problem is that for some reason this options aren't properly set after booting the computer, I've tried different combinations for line 1 and 2 without success.

I'm used to rmmod the bttv driver and modprobe manually with those settings but I'd like to automate the process.

View 2 Replies View Related

Slackware :: Add Any Special Options To Mkinitrd For AHCI Configuration?

Apr 29, 2011

Do I need to add any special options to mkinitrd for AHCI configuration?

mkinitrd -c -k 2.6.37.6-smp -m ext4

Does it know I'm not in legacy PATA mode or do I have to add something to load AHCI module with it?

View 3 Replies View Related

Ubuntu :: Where To Change X Configuration Options In Natty Without Xorg.conf

May 24, 2011

I need to add an option to my xorg.conf to enable "backing store", like this:

Section "Device"
Identifier "Miserable Old SVGA"
Driver "miserable"
Option"BackingStore""True"
EndSection

But I don't have an xorg.conf file in Natty. There are several conf files in /usr/share/X11/xorg.conf.d/, but I'm not sure which one to add it too (I can't find the Device section in any of them). I guess I don't even know if the "BackingStore" option is valid in the latext Xserver.

View 2 Replies View Related

Programming :: Installdirs Site" Options In Cpan Configuration?

Oct 30, 2010

What is "--installdirs site" options in cpan configuration?

View 1 Replies View Related

CentOS 5 :: Default Configuration Options For Upgrading And Recompiling Apache?

Oct 23, 2009

I'm currently upgrading my clients' CentOS 5 installation to use httpd-2.2.14 as we need it for the server to past some of the Hardware checks used in the PCI [Payment Card Industry] security test. I was basically wondering if anyone had the standard CentOS 'configure options' for building httpd/Apache so I could copy them to ensure it is a straight replacement for my existing 2.2.3?

[Code]...

View 1 Replies View Related

Server :: Monitoring EC2 RDS In Nagios?

May 27, 2011

I want to monitor RDS (mysql database of EC2) using Nagios. In command line ( I am able to do it but I dont know how to feed it in nagios . On nagios server if I execute the following command , I am able to fetch the information of database (RDS)

Nagios_server #/usr/local/nagios/libexec/check_mysqld.pl -p<password> -f -u <username> -A uptime,threads_connected,slow_queries,open_tables -H <hostname> -q 'SHOW STATUS'

output :- MYSQL 5.1.50 OK | uptime=344783 threads_connected=672 slow_queries=0 open_tables=64

Note :- Here the host name is public dns name (x.y.z.amazon.com) .We cant ping to this host.With mysql command , we can log in and work on databases.

View 5 Replies View Related

General :: Smartd Is Spinning Up Some Of Drives

Jan 22, 2011

I am running OpenSUSE 11.2 (but I do not suspect that this is distribution-specific).Linux bach 2.6.31.8-0.1-desktop #1 SMP PREEMPT 2009-12-15 23:55:40 +0100 i686 i686 i386 GNU/Linux.I am running in runlevel 3 while trying to sort this out.When smartd runs, it spins up my Western Digital drives from standby, but not my Samsung drive.Anyone know why blkid, edd_id and devkit-disks-pa are reading my standby drives? And are these reads sufficient to make drives spin up? I'm not sure what to look at next.

View 1 Replies View Related

Server :: Proxy Server Software Based On Simple Logging Requirements

May 18, 2010

we need to log web access of a certain set of users for analysis. We decided to setup a proxy server which just logs all the requests but does not do anything else like caching/access control etc.All users will be using a fixed set of computers and hence we can redirect their requests to the proxy. I came across Squid, but found it to be too heavy for our requirements. Is there any other proxy-server software that is good enough for what we want or is Squid the only way?

View 1 Replies View Related

OpenSUSE Install :: 11.3 Startup Options - System Hanging On The Automatic Configuration

Aug 22, 2010

I had some issues with my system hanging on the automatic configuration of the install so I searched the web for the issue. After reading this thread: Hangs at end of SuSe 11 install I used acpi=off apm=off nolapci as the install options and it worked. My question is, do I need to add those options to the /grub/menu.lst or will the install do that?

View 9 Replies View Related

Server :: Multiple Users Logging Into Same Windows Server And Using Xwindows?

May 18, 2010

I have an issue with users logging into a server. There are multiple (5 or so) database admins that have to log into a windows 2003 server and from there log into a red hat server. Once they are in the rhel box they execute an app (let's say xclock) that gives them an xwindows session on their desktop. Currently only one person can do this at a time, but they have asked me to configure it to allow multiple users to log into the red hat box from the windows server and run an xwindow.

View 6 Replies View Related

Debian :: Server Monitoring Tool (RAM / CPU And HDD)

Sep 2, 2011

I was looking for some software to run on my Debian vServer which monitors RAM, CPU and HDD usage. This tool should not require Gnome/KDE, so I guess I'll end up with a PHP tool. I did some search but came up with nothing. I'm using Parallels Power Panel (there might be a plugin or something like that?)

View 5 Replies View Related

General :: Monitoring Apache Web Server?

Oct 17, 2009

I was searching for tool for monitoring Apache performance and utlization of Web Server? Any Idea..

View 3 Replies View Related

Server :: Automating Task Of Log Monitoring?

Apr 6, 2010

Basically, I go through certain logs on my linux hosts checking for anything out of place. You know, the usual, /var/log/messages, lastlog, etc. What I've been using is just a simplistic grep statement that looks for keywords in certain log files, such as warn, crit, etc., with the -i flag to ensure no case searches. I thought, well, surely there are others out there doing the same thing, but more automated. Perhaps something that can check files for keywords and then notify, via email, if anything out of the ordinary is seen.

View 5 Replies View Related

Server :: Monitoring Traffic With Cacti?

Mar 5, 2010

I am using CentOS 5.4 and did a yum install of cacti. I installed all the necessay packages, like net-snmp, php net snmp and all that. Everything else works but I can't for the life figure out how to monitor traffic on eth0. I do not have any SNMP Interface Statistics or alike in either the Associated Graph Templates or Associated Data Queries.

Heres the output of "snmpwalk localhost -c public -v2c" , SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx.xxxx.net 2.6.18-164.6.1.el5xen #1 SMP Tue Nov 3 17:53:47 EST 2009 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (7515443) 20:52:34.43

[Code]...

I am trying to monitor the interfaces on the local computer only.

View 4 Replies View Related

Server :: Need Best Monitoring Tool Used In System

Jul 12, 2011

I want to know which was the best networking monitoring tool in linux
wright now im using opennms . i like to try out with any other monitoring tool can somebody say which one is best one followed in linux industry

View 3 Replies View Related

CentOS 5 :: Entering GUI After Smartd Services Started

Jun 15, 2011

Why after I boot from runlevel 5 and smartd services is started, I've got a black screen. I know that the GUI is exist but it looks like doesn't appear (black screen). I do following actions :
1. First I check /etc/sysconfig/desktop there is no data (empty), then I add to /etc/sysconfig/desktop this line :
DESKTOP=GNOME
DISPLAYMANAGER=GNOME

View 3 Replies View Related

General :: Best Server Monitoring (Traffic ) Tool?

Oct 25, 2010

Which is best server monitoring (Traffic ) tool ?

Can you provide some form of monitoring on this server or recommend any server-side applications that could monitor the status, in high detail, including traffic, etc?

View 9 Replies View Related

Server :: Debian File Access Monitoring

Sep 16, 2010

I'm running a Debian/Samba PDC on a Windows network. We desire to monitor a few network shares, so that whenever a change is made to a file in those, we have a log of who did it and when. Some capability of seeing what the change was, or a way of reverting it, would be nice luxuries. But username and timestamp are most important, if possible.

On the debian forums, someone advised using Tripwire for this purpose. didn't give much other advice about it so I kind of struck out on my own researching tripwire. got it installed, played wth it, and found it problematic, to say the least. It seems a bit much on the complexity and security side, and it seems more oriented towards maintaining system integrity, than monitoring documents. So far I've not managed to get a policy update working on account of a cascade of errors about a few hundred files under /proc disappearing, despite no changes to the system.so I'm wondering if anyone here has advice.

1. Does debian have this sort of functionality built in? is there a system log I can parse to get this information?
2. Is tripwire the right application for our purpose?
3. Is there anything better suited, more user-friendly or more parsimonious. I don't need something to monitor all system files, guard against intrusion, and make me cups of tea, just to monitor a few folders that I specify

View 4 Replies View Related

Server :: Monitoring Tools For Linux Servers

May 19, 2010

I am looking for some monitoring tools (such as disk usage,memory usage, cpu,etc) for my linux machines. I came across two tools, cacti and splunk.Which one is better ? It will be nice if you can also let me know the reason.

View 8 Replies View Related

Server :: Monitoring Users On Servers - Centos 5

Feb 28, 2010

I'm looking for some sort of a way keep track of all of my users that are logging in to my server (centos 5), what I mean is this: at our firm we outsource some of our work (programing), now all of the developing is done under our servers, what I'd like to find is a way of taking all of the users log on time and display by days/weeks/months - so I could see how much did everyone had put in. Another thing that I'm looking for is a way to monitor an ongoing session and record user activity, now I've seen ObserveIT, but it doesn't support Linux agents as of today.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved