Re: need a help

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 10 Jun 2010 16:35:19 +0530, gunsnroses <[email protected]> said:

g> (1) I need to modfy linkUpDownNotifications backend. I am working on switch
g> port interfaces, and to get to know the true state of an interface I need to
g> run a binary for each interface. So, I have to get to know the exact part of
g> code which gets to know the status of the interfaces and instead of knowing
g> like that I will execute my binary there. How do I do this?

It may depend on the OS, but start in
   agent/mibgroup/if-mib/ifTable/ifTable_data_access.c
   send_linkUpDownNotifications()

g> I think that I wont get separate traps for scenario------part1-->goes above
g> 90% & after some time part2--->goes above 90% and after some time part3--->
g> goes above 90%. How can I make this possible?

It should.  Have you tried it?  (try it; set the values low near the
point that they're currently at space wise and then create a big file in
each disk to ensure your configuration will work).

g> (3) Also, I have to monitor if any of the usage in these partitions crosses
g> 96%. Can I do another monitor with dskPath in sanmpd.conf withe the above
g> where it is tracking for 90%? How?

No, unfortunately it's a single warning level.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.