12-04-2009
The obvious question first: why don't you install it using the distributions package manager? I think it's yum for Red Hat. Those usually have automatic dependency tracking, and can track official software repositories to download software from.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler
#!/bin/ksh
VAR='Oranges'
if
then
echo "Found Lemons"
elif
then
echo "Found Oranges"
fi
The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
2. UNIX for Advanced & Expert Users
I have a few files on my system named:
-rw-------
-rw-r-----
-rw-rw--w-
-rwxrw-r-x
(Yes, it's really the name of the file, not the access permissions, they're 0 bytes large and all created at the same date/time).
I've no idea how they got there but I don't seem to be able to delete them... (2 Replies)
Discussion started by: rein
2 Replies
3. Solaris
Greetings To All!
I am running Solaris 10 in a sparc environment.
Here is the deal:
In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a
crontab -l sys, it returns:
# 0 * * * 0-6 /usr/lib/sa/sa1
# 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
# 5 18 * * 1-5 /usr/lib/sa/sa2... (8 Replies)
Discussion started by: RobSand
8 Replies
4. UNIX for Advanced & Expert Users
Hi,
I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc.
Here is what the ls -li outputs
root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l
ls: cannot access TRUNK_: No such file or directory
ls: cannot access 2006_output.mv:... (11 Replies)
Discussion started by: nitin
11 Replies
5. Solaris
Hi all
am new to solaris ............
i installed amanda client pkg that time am getting lots of dependency problem..........
is there any Yum server like things in solaris
Regards '
prAn (8 Replies)
Discussion started by: pran
8 Replies
6. Programming
Hi all,
I have 4 '.cpp' files and 1 header files:
Tools.cpp
Code1.cpp
Code2.cpp
Code3.cpp
and Tools.hh
Now all Code1.cpp, Code2.cpp, Code3.cpp
use functions stored in Tools.cpp.
Currently, what I do to compile all of them is using
this simple shell script: (1 Reply)
Discussion started by: monkfan
1 Replies
7. UNIX for Dummies Questions & Answers
Hi.
First post, and Linux newbie, so maybe I'm missing something obvious:
I have a Synology NAS that is run by a Linux distribution (which?). I have had an external hard drive connected to the NAS for making backups using Synology's backup application Time Backup.
Time Backup is based on... (3 Replies)
Discussion started by: Pokersut
3 Replies
8. Shell Programming and Scripting
awk 'BEGIN{print 1.2.3.4}'
1.20.30.4
Can anyone explain why has extra "0" in the IP address? (3 Replies)
Discussion started by: newoz
3 Replies
9. UNIX for Dummies Questions & Answers
I have a weird issue going on with the join command...
I have two files I am trying to join...here is a line from each file with the important parts marked in red:
file1:
/groupspace/ccops/cmis/bauwkrcn/commsamp_20140315.txt,1
file2:... (3 Replies)
Discussion started by: dbiggied
3 Replies
10. Shell Programming and Scripting
Hi,
I have a simple awk script:
BEGIN{}
{
$a=$2-$1;
print $a
}
END{if(NR==0){
print "0"
}
}
to which I provide the following input
2.9 14
22.2 27 (4 Replies)
Discussion started by: jamie_123
4 Replies
LEARN ABOUT REDHAT
snmp-ups
snmp-ups(8) Network UPS Tools (NUT) snmp-ups(8)
NAME
snmp-ups - Driver for RFC 1628 SNMP UPS equipment
NOTE
This man page only documents the hardware-specific features of the snmp-ups driver. For information about the core driver, see nutups-
drv(8).
SUPPORTED HARDWARE
Any UPS that is RFC 1628 (UPS MIB) compliant.
EXPERIMENTAL DRIVER
This driver has been tagged experimental and is not built by default.
REQUIREMENTS
This driver needs UCD SNMP, aka Net-SNMP installed to compile successfully. See http://www.net-snmp.org/ for more information.
On Red Hat 7.2, these packages are required:
ucd-snmp-devel-4.2.3-1, ucd-snmp-4.2.3-1, ucd-snmp-utils-4.2.3-1
You must install SNMP-UPS-MIB.txt in your MIBs directory - typically /usr/share/snmp/mibs/, but it may vary from system to system. You can
generate this from chapter 4 of RFC 1628 (see http://www.faqs.org).
EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5):
community=name
Set community name (default = public)
snmp_version=version
Set SNMP version (default = v1, the other allowed value is v2c)
INSTALLATION
This driver is not built by default. You can build it by using "configure --with-drivers=snmp-ups" before calling make.
IMPLEMENTATION
The hostname of the UPS is specified with the "port" value in ups.conf, i.e.:
[snmp]
driver = snmp-ups
port = snmp-ups.example.com
community = public
snmp_version = v1
SUPPORTED VARIABLES
INFO_MFR UPS Manufacturer
INFO_MODEL UPS Model
INFO_FIRMREV Firmware/Software Version
INFO_STATUS OFF, OL, OB, BOOST, TRIM
INFO_BATTPCT Battery percentage
INFO_RUNTIME Predicted runtime on battery
INFO_BATTVOLT Battery Voltage
INFO_OUTVOLT Output Voltage
PLANNED SUPPORT
INFO_UTILITY Input Voltage
INFO_ACFREQ AC Frequency
INFO_UPSTEM UPS Temperature
INFO_LOADPCT Load Percentage
CMD_? Not determined
AUTHORS
Arnaud Quette, Hans Ekkehard Plesser
SEE ALSO
The core driver:
nutupsdrv(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/
NUT mailing list archives and information: http://lists.exploits.org/
Tue Oct 22 2002 snmp-ups(8)