11-01-2012
You could try running snmpd on each of the servers and then use snmpget to query the stats you want.
Of course there are a log of commercial monitoring solutions that can track and alert on all these and a lot more.
This User Gave Thanks to Chubler_XL For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I saw a few posts on this, however, I am getting an error and don't see this particular issue. Not right off anyways....
We moved from digital OS to solaris 9 in Jan.
On the old platform, I could gzip my files, ftp them to my win2000 desktop via hummingbird and then unzip them to view.
Now,... (8 Replies)
Discussion started by: MizzGail
8 Replies
2. Programming
Hi,
i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux??
How can this be done? Is there any common solution to all platforms?
On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this?
... (3 Replies)
Discussion started by: molu
3 Replies
3. UNIX for Advanced & Expert Users
Does anyone know of any tools that manage the rollout of patches across multiple types of Unix platform ( eg Solaris, Aix etc ).
I am looking for something that does a similiar job to SMS or WSUS in the Windows world (3 Replies)
Discussion started by: jimthompson
3 Replies
4. Solaris
Does anyone know how Solaris organises different platforms? (1 Reply)
Discussion started by: gc40
1 Replies
5. Shell Programming and Scripting
Hi,
I'm writing a wrapper that tells me the free space and percentage on some file systems.
I need it to work on all UNIX and Linux platforms.
Currently I'm thinking about a good regular expression that covers all platforms by using "df -k", but I'm not sure it's the best. It's a lot of work and... (1 Reply)
Discussion started by: moshmosh
1 Replies
6. UNIX for Dummies Questions & Answers
Hi.
Where can i learn, Which Unix platform specific for what? Properties? (1 Reply)
Discussion started by: Enrgy
1 Replies
7. UNIX and Linux Applications
Hi ;)
Which hardware platforms/machine types use the Operating System Unix?
A list of all would be appreaciated
Thx
Megadrink :cool: (2 Replies)
Discussion started by: Megadrink
2 Replies
8. Programming
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc).
Is there a... (7 Replies)
Discussion started by: Pug
7 Replies
9. UNIX for Dummies Questions & Answers
Hello, I have a question regarding ACLs and their availability across different Unix platforms via NFS share.
If I have an AIX/FreeBSD/Solaris/HP-UX client that has an nfs share from a different system mounted on it, will the ACLs on the nfs share be processed properly?
My guess is that as... (2 Replies)
Discussion started by: bstring
2 Replies
10. Shell Programming and Scripting
Need to parse XML like strings from a file.
Using `egrep -A 1 "Panel Temp" "$2" | tail -2` I get the following string:
<parameter name="Panel Temp" unit="0.1 C"> <value size="1" starttime="06-08-2017 09:36:56.968">95</value>
I want to output:
{"Panel Temp" 9.5 C}
The 9.5 C is the value... (16 Replies)
Discussion started by: harleyvrodred
16 Replies
SNMPGET(1) Net-SNMP SNMPGET(1)
NAME
snmpget - communicates with a network entity using SNMP GET requests
SYNOPSIS
snmpget [COMMON OPTIONS] [-Cf] OID [OID]...
DESCRIPTION
snmpget is an SNMP application that uses the SNMP GET request to query for information on a network entity. One or more object identifiers
(OIDs) may be given as arguments on the command line. Each variable name is given in the format specified in variables(5).
OPTIONS
-Cf If -Cf is not specified, some applications (snmpdelta, snmpget, snmpgetnext and snmpstatus) will try to fix errors returned by the
agent that you were talking to and resend the request. The only time this is really useful is if you specified a OID that didn't
exist in your request and you're using SNMPv1 which requires "all or nothing" kinds of requests.
In addition to this option, snmpget REQUIRES options and agent arguments, as described in the snmpcmd(1) manual page.
EXAMPLES
The command:
snmpget -c public zeus system.sysDescr.0
will retrieve the variable system.sysDescr.0 from the host zeus using the community string public :
system.sysDescr.0 = "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
If the network entity has an error processing the request packet, an error packet will be returned and a message will be shown, helping to
pinpoint in what way the request was malformed. If there were other variables in the request, the request will be resent without the bad
variable.
Here is another example. The -c and -v options are defined in the snmpcmd(1) manual page. (Note that system.sysUpTime is an incomplete OID,
as it needs the .0 index appended to it):
snmpget -v1 -Cf -c public localhost system.sysUpTime system.sysContact.0
This example will return the following:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
This name doesn't exist: system.sysUpTime
Similarly, the command:
snmpget -v1 -c public localhost system.sysUpTime system.sysContact.0
Will return:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
This name doesn't exist: system.sysUpTime
system.sysContact.0 = STRING: root@localhost
With the -Cf flag specified the application will not try to fix the PDU for you.
SEE ALSO
snmpcmd(1), snmpwalk(1), variables(5).
4th Berkeley Distribution 08 Feb 2002 SNMPGET(1)