If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us> Subject: Re: Monitoring system parameters over SNMP. Date: Thu, 08 Feb 2001 21:58:28 -0800 References: <95r7rg$385$1@flis.man.torun.pl> On Wed, 7 Feb 2001 12:22:17 +0100, "Tom Fil" <tomfil@poczta.onet.pl> wrote: >I want to monitor the system key parameters ( such as : CPU utilization, No >of Processes, disks activity - some reported by 'sar' ) over SNMP ( e.g. >MRTG ) but standard 'hostmib' doesn't contains ( except hrSystemProsecces ) >this MIB's. > >Is there appropriate ( SCO specific ) MIB definitions for SCO OSR5 hosts ?
Hostmib only.
>And the secound problem.
>I have follow instruction found on : www.aplawrence.com/Jeffl/snmp_install.html
>and I have take partial success - I can obtain answers, when questions are
>made from localhost, but only the basic ( system.sysDescr, *.sysObjectID,
>*.sysUpTime, *.sysContact, *.sysName, *.sysLocation, *.sysServices ) when
>made form other host.
Exactly what version of OSR5? (uname -X)
What "other host"?
What is between the OSR5 box and the "other host"? Routers or firewalls?
Exactly what commands are you using to walk the MIB tree?
1. If hostmib is properly setup, you should be able to get the entire
mib tree. On OSR5, if you run:
getmany localhost public iso | grep "Name" | wc
you should get 554 OID's (lines) without hostmib and about 1000 lines
with hostmib running.
2. If you're getting just the System part of the tree, my guess is that
the unspecified system you're using to poll the OSR5 box is RedHat 6.0 or
6.1, which is delivered with a highly secure, but useless V2 security
/etc/snmp/snmpd.conf
file, which exhibits exactly the above symptom. You can also create the
exact same symptoms on OSR5 by misconfiguring
/etc/snmpd.comm
on the OSR5 box. If you're not sure on OSR5, just make sure that the
snmpd.comm file has:
public 0.0.0.0 read
in it somewhere so that everyone can read the whole tree.
On what I guess is a RH 6.x box try for snmpd.conf the following. Be
sure to change the community names (passwords) and LAN IP address.
###############################################################################
# snmpd.conf:
# Sample for RedHat 6.1
# by Jeff Liebermann 02/03/2001
###############################################################################
# System contact information
syscontact jeffl@comix.santa-cruz.ca.us
syslocation WISP High
###############################################################################
#
# The rules:
# localhost has read and write access.
# local class C network has read and write access.
# Everyone else gets just the system group.
#
# sec.name source community (password)
com2sec Mybox localhost clever-password
com2sec LocalLan 192.168.111.0/24 public
com2sec Outside default public
#
# group.name sec.model sec.name
group RWGroup V1 Mybox
group ROGroup V1 LocalLan
group Others V1 Outside
#
# incl/excl subtree mask
view all included .1 80
view system included system fe
#
# context sec.model sec.level prefix read write notif
access ROGroup "" V1 noauth exact all none none
access RWGroup "" V1 noauth exact all all all
access Others "" V1 noauth exact system none all
###############################################################################
-- Jeff Liebermann jeffl@comix.santa-cruz.ca.us 150 Felker St #D Santa Cruz CA 95060 831-421-6491 pager 831-429-1240 fax http://www.cruzio.com/~jeffl/sco/ SCO stuff

/Bofcusm/1004.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar