creating my own MIB to monitor mail queue.

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-23-2005
Miguel Gómez
 
Posts: n/a
Default creating my own MIB to monitor mail queue.

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0