On Sat, 2005-04-23 at 14:09, Miguel G�mez wrote:
> I have created my own MIB to monitor the exim4 mail queue. I've
> created it with an Integer32 OBJECT-TYPE that stores number of mails
> in linux queue.

And how have you implemented this object?
What code did you write?


> snmpset -v 2c -c loquesea buzon exim4queue i  $numMessages
> 
> But it shows a message saying that exim4queue is not writable. But
> that's not true, becouse "loquesea" is a read-write community and
> "exim4queue" has read-write permissions.

But what code did you write?


> I've read the FAQs and another mails about things similar and
> I think I have to compile something or use mib2c

Yes.
You need to write some code in order to implement this object.
The MIB definition is simply the "design" of the object - the
agent needs to contain some real code in order to actually implement it.


>  Would you do it in other way?

Well, if you're trying to monitor the mail queue, it might be
sensible to use the existing MTA-MIB that was specifically
designed for that purpose. We've had an implementation submitted
for sendmail-based systems.  An equivalent version for Exim
would be very useful.

Any volunteers?

Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to