On Wed, Mar 24, 2004 at 10:39:00AM +0100, [EMAIL PROTECTED] wrote:
> - Defined a new interface type for monitoring raid and physical drive
> status. The OID is .1.3.6.1.4.1.232.3.2.5.1.1.6 for the drive table.
> - The index of the interfaces I discover is for example 123, so the OID to
> poll is .1.3.6.1.4.1.232.3.2.5.1.1.6.XXX.123.
> - The problem is the XXX. This is the index of the raid controller card.
> - I have to read out this index in discovery to poll with this number later
> on. For example: the index of controller card is 1 so the correct OID to
> poll is .1.3.6.1.4.1.232.3.2.5.1.1.6.1.123.
> - I can save 123, the interface index, but how I can save the 1, the raid
> card index number? Depending on the machine this index is always different.
If it doesn't change the last two or so versions of JFFNMS allow
interface types to store arbitary fields.  The definition for the fields
is the same for all interfaces but the value is unique for each found
interface.

In your case make a new field for your RAID Drive interface type,
call it Controller ID with the internal name controller_id for example.
Then in discovery script you just have a new key (just like index or
ipaddress or index can be a key) called controller_id

Then for your poller all you need to do is use the snmp_counter poller
with the poller parameter of
".1.3.6.1.4.1.232.3.2.5.1.1.6.<controller_id>.<index>"

  - Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to