Hi,
Well, the current IM Probe language does not allow for SNMP index walking,
unless you do an 'on demand' table listing.
It has come up many times before, so I guess it will always help to ask for it
again..
Unless you look into adding a SNMP demond extension serverside, with a custom
UID.. :-/
Regarding SecuritySpy: I would simply use a HTTP probe and monitor if they
webservice is running!
--
Jakob Peterhänsel
"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006
AIM: Marook
Phone: +45 30787715
On 14/10/2010, at 22.17, Dave Stewart wrote:
> Hi List!
>
> I'm a long time lurker and infrequent poster who has been tasked with trying
> my hand at a custom Intermapper probe. There are a few goals I have in mind
> (I'm trying to monitor a video security system), but want to start with the
> obvious one - is my mass storage device (a Drobo - no help there) mounted?
>
> I discovered using Mibble that the mounted volumes show up in the
> HOST-RESOURCES-MIB::hrStorageDescr and have written a probe that does what I
> want regarding my test Drobo, but I've had to use the specific index to do
> it. I'd like to be able to walk through hrStorageDescr and look if my Drobo
> is mounted (I'm looking for "/Volumes/BigBrother", as they all are named
> "BigBrother(something)"). My guess is this is easy and I'm just to
> inexperienced to see it, but I haven't stumbled upon it in the Dev Guide,
> Google or in the mail archives.
>
> Currently my probe is pretty simple, with the following pertinent sections:
>
>> <parameters>
>>
>> "DroboMounted" = "/Volumes/BigBrother"
>>
>> </parameters>
>>
>> <snmp-device-variables>
>>
>> -- variableName --OID --type
>> --chartLegend(optional)
>> isDroboMounted, HOST-RESOURCES-MIB::hrStorageDescr.36, DEFAULT,
>> "hrStorageDescr.Drobo"
>>
>> </snmp-device-variables>
>>
>> <snmp-device-thresholds>
>>
>> -- status -- comparison --
>> conditionString(optional)
>> critical: $isDroboMounted !~ ${DroboMounted} "Drobo is NOT mounted!
>> ($isDroboMounted) != ${DroboMounted}"
>>
>> </snmp-device-thresholds>
>
>
> So I'd like a probe that walks through hrStorageDescr instead of using the
> index 36 (I think that index can change, depending on the order and number of
> things that mount at boot time) until it either finds an entry starting with
> "/Volumes/BigBrother" or not and sets the status accordingly. How do I do
> that, are there any examples I should be looking at?
>
> I'm thinking of adding the ability to monitor whether or not certain programs
> are running (Drobo Dashboard and SecuritySpy specifically), should I be
> thinking of a command line probe instead or is it possible to integrate that
> with the custom-snmp probe I started with? My initial assumption was I would
> just have two entries for these machines, one probe for the hardware (Drobo)
> and another for the software, but it would be neat if I could integrate them
> into one.
>
> Many thanks in advance for any and all ideas you can throw my way.
>
>
> Dave Stewart
> Aqua~Flo Supply (Goleta CA)
> dstewart at aquaflo dot com
>
> "10 percent of computer users are Mac users,
> but remember, we are the top 10 percent."
> - Douglas Adams
>
>
>
> ____________________________________________________________________
> List archives:
> http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
> To unsubscribe: send email to: [email protected]
>
>
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]