This is a discussion on creating my own MIB to monitor mail queue. within the SNMP Users forums, part of the Networking and Network Related category; Hello, I have created my own MIB to monitor the exim4 mail queue. I've created it with an Integer32 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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=3D`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_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|