On 10/26/04 at 10:37 AM -0700, Bob Hayes wrote the following message
about "Re: [IM-Talk] Host Resources Probe:"


on 10/26/04 9:21 AM, Rich Battin <[EMAIL PROTECTED]> wrote:

 I am running InterMapper server on an OS X G4 that is not running OS
 X Server so it appears enabling SNMP is not simple.

 What is odd is that a G4 Xserve running 10.3.5 Server with Server
 Admin showing a checkmark next to "Enable SNMP" yet there is no
 regular SNMP response to the Host Resources Probe! I have used the
 root password that works with the Xserve probe for the SNMP
 "Read-Only" Community. Port 161 does not respond to a port scan yet
 other ports do. That is the box I need to know if the backup drive is
 getting full so I can backup to tape. The Xserve probe shows disk
 capacity but of course that never changes.

 I would love to know percent of disk capacity used. The
 "BytesWritten" field seems to stop recording above 2 GB. How can I
 show or calculate the percent of drive capacity used, with an
 InterMapper alarm?

SNMP isn't too hard to set up for a very simple configuration, but AFAIK the only way to do it through the terminal, even on an OS X Server machine. The "Enable SNMP" checkbox in OS X Server seems to only add the appropriate line to the /etc/hostconfig file but doesn't seem to do anything about the necessary snmpd.conf file.

So, for OS X non-server machines, manually edit /etc/hostconfig as root and
add "SNMPSERVER=-YES-" with no quotes to the bottom. On OS X Server
machines, just enable the checkbox.

Then on both Server and regular machines, create the snmpd.conf file. Here's
the method that has worked for me:

cd /usr/share/snmp/snmpconf-data/snmpd-data
sudo snmpconf (this runs snmpconf as root)
Select choice number 1 and continue from there.

After you go through the menus, you will have created a file called
snmpd.conf in the /usr/share/snmp/snmpconf-data/snmpd-data directory. You
need to copy or move it to /usr/share/snmp and then start or restart the
snmpd daemon. Because of the /etc/hostconfig line, snmpd will start
automagically next system restart. Also, snmpconf doesn't set the sysname,
so I do that manually.

I've only made simple configurations, setting the Access Control Setup,
System Information Setup, and Trap Destinations. The Monitor Various Aspects
of the Running Host part looks very interesting, but I haven't had any luck
making it work. But just creating the r/o community and correct info setup
lets the InterMapper Host Resources probe work like a charm.

HTH.

Regards,

Bob

--
Bob Hayes
Director of Technology
Artbeats Software, Inc.
[EMAIL PROTECTED]
http://www.artbeats.com
(541) 863-4429


Thanks Bob,

There is also this Apple document and it mentions InterMapper as one of the SNMP based tools available:

http://docs.info.apple.com/article.html?artnum=107012

--

,-----/----.
|  O  | O  |    Rich Battin
|    /     |    Apple Certified Technician
|   (__    |    Academy School District 20
| \___|__/ |    http://www.d20.co.edu
'-----\----'


____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to