Dear Ratnakar, Use the net-snmp tools and libraries to generate and handle traps..
There are two parts in SNMP... 1. The agent which basically publishes the information... 2. The Master which collects the information... I assume that you want to generate a trap.. and handle it... In order to generate the trap you have to set parameters in /etc/snmp/snmpd.conf file and run the snmpd service.... one of the example of generating the trap is to generate a trap when your diskspace goes below the threshhold value set in snmpd.conf... lets say that you have set the threshhold value of / partition to 1000 MB, if the free space goes below 1000 MB, the agent will broadcast a message on port 162. At the master end, you can configure snmptrapd to run a script as soon as it recieves a trap. for more information refer to http://www.net-snmp.com/docs/readmefiles.html Regards, Virat On 11/18/05, Ratnakar Koli <[EMAIL PROTECTED]> wrote: > hi guyz, > > i m trying setup snmp trap as a part of my assignment, > as a result i have downloaded cacti, but when i try to > install it, it says i need rrdtool, then it says i > need libpng... and then zlib... > > I m actually stuck can some1 pls guide me how i should > i go about it. what all things are necessary, or what > m i missing. > > also, i have tried installing zlib, but i m not aware > of how to install a .src.rpm file. > > pls assist me. > > thank u > > Ratnakar ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help