Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Updated Settings tab (the Mail/DNS one)

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Development
Author Message
peecee



Joined: 26 Feb 2008
Posts: 44

PostPosted: Wed Feb 27, 2008 9:26 am    Post subject: Updated Settings tab (the Mail/DNS one) Reply with quote

I've got most of the settings tab looking the way I want it. Now comes the real fun - asking if this effort is pointless or not?


settings mail dns trap tab.PNG
 Description:
Added a Notification options header and an snmptrap configuration portion.
 Filesize:  47.67 KB
 Viewed:  2080 Time(s)

settings mail dns trap tab.PNG


Back to top
peecee



Joined: 26 Feb 2008
Posts: 44

PostPosted: Sun Mar 02, 2008 8:05 pm    Post subject: Reply with quote

If anyone cares, I've got snmp traps being sent to a trap receiver for display through Netcool. Each trap is sent with it's own OID based on the class of the alert - really each discrete test has its own leaf of the tree.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Mar 03, 2008 3:19 am    Post subject: Reply with quote

Please post the patches on cactiusers.org... if it's integrated into the next release, then it would mean you can still track upgrades, and everyone else gets the benefit

At $JOB, our trap-handling is currently garbage, but I can see the use
Back to top
peecee



Joined: 26 Feb 2008
Posts: 44

PostPosted: Mon Mar 03, 2008 9:15 am    Post subject: Reply with quote

I'll post it up once I get all code working properly. Currently there are a few places where I'm still not exactly sure how to identify the OID structure. The modification also builds it's own MIB based on the thresholds available. I ran into a situation last night where I forgot to extend them MIB and the traps got sent with the wrong OID.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Mon Mar 03, 2008 10:30 am    Post subject: Reply with quote

If you have "Trap", make sure you also include "Inform".

TheWitness
Back to top
peecee



Joined: 26 Feb 2008
Posts: 44

PostPosted: Mon Mar 03, 2008 11:58 pm    Post subject: Reply with quote

TheWitness wrote:
If you have "Trap", make sure you also include "Inform".

TheWitness


Yep, got v1 and v2c working. I'm working on v3 - it's a little tricky.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9697
Location: MI, USA

PostPosted: Tue Mar 04, 2008 9:34 pm    Post subject: Reply with quote

Cool. Inform == TCP

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Development All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group