I need to run smartctl using nagios account but I'm not familiar with perl scripting.
The existing script runs smartctl using root account. I need it to run using nagios to eliminate security risks.
I really appreciate your reply guys on this forum.
Hi,
To run a perl script i am giving command like this in DOS prompt
d:> perl D:\<dir_name>\<dir_name>\sample.pl
Its throwing the following error while running the above
syntax error at <eval 4> line 1, near "use D:"
Can anyone help? (3 Replies)
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Hi All,
Need help configuring Active Perl on Windows Vista.
I am trying to install Active Perl on Windows Vista.
The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006
After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to... (14 Replies)
Gents,
I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
I have create this shell script
#!/bin/sh
if ; then
echo "Usage: ./script <filename>"
exit 1
elif ; then
fname="$1"
fi
output="output.txt"
i=0 ... (11 Replies)
Discussion started by: Evelin90
11 Replies
LEARN ABOUT DEBIAN
gsmartcontrol
GSmartControl(1) User Commands GSmartControl(1)NAME
GSmartControl - Hard disk drive health inspection tool
SYNOPSIS
gsmartcontrol [OPTIONS]
gsmartcontrol-root [<desktop> [OPTIONS]]
DESCRIPTION
GSmartControl is a graphical user interface for smartctl (from smartmontools), which is a tool for querying and controlling SMART (Self-
Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive's SMART data to deter-
mine its health, as well as run various tests on it.
This manual page documents briefly the gsmartcontrol and gsmartcontrol-root commands.
gsmartcontrol-root command launches gsmartcontrol with administrative privileges. The desktop argument specifies which desktop is currently
running, for automatic selection of native su mechanism. Valid values for desktop are auto, kde, gnome, other.
OPTIONS
Help Options:
-?, --help
Show help options
--help-all
Show all help options
--help-gtk
Show GTK+ options
--help-debug
Show logging options
Application Options:
-l, --no-locale
Disable locale
-V, --version
Display version information
--no-scan
Don't scan devices on startup
--no-hide-tabs
Don't hide non-identity tabs when SMART is disabled. Useful for debugging.
--add-virtual
Load smartctl data from file, creating a virtual drive
--add-device
Add this device to device list. Useful with --no-scan to list certain drives only.
--display=DISPLAY
X display to use
-v, --verbose
Enable verbose logging; same as --verbosity-level 5
-q, --quiet
Disable logging; same as --verbosity-level 0
-b, --verbosity-level
Set verbosity level [0-5]
COPYRIGHT
Copyright (C) 2008 - 2009 Alexander Shaduri <ashaduri 'at' gmail.com>
AUTHOR
This manual page was originally written by Giuseppe Iuculano <giuseppe@iuculano.it>, for the Debian project.
gsmartcontrolGSmartControl(1)