Hello,
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. I put a line in crontab file to execute periodically a
bash script that updates that value using:
numMessages=`exim4 -bpc`
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.
I've read the FAQs and another mails about things similar and I think
I have to compile something or use mib2c, but I don't get it, :-( . Do
you think that this is the correct way of doing it? Would you do it in
other way?
Thank you for your help.


-------------------------------------------------------
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