Can you create a test snmpd.conf with just: rocommunity public in it? And see if that works? -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University
HM wrote, On 8/19/2009 1:38 AM: > Hi All > Zenoss Machine Details: > 1) Its a Dell 1950 server, OS Linux RHEL 5 installed, Net SNMP installed too. > The related packages such as net utils and libs are also installed. > 2) The physical machine did have snmpd configurations by default in > /etc/snmp/snmpd.conf I didnt make any changes in it. My temporarily set > community is 'public'. I have pasted the configs below so anyone who has an > idea of what is wrong can let me know. > > #### > # First, map the community name "public" into a "security name" > > > # sec.name source community > > com2sec notConfigUser default public > > > #### > # Second, map the security name into a group name: > > > # groupName securityModel securityName > > group notConfigGroup v1 notConfigUser > group notConfigGroup v2c notConfigUser > > > > #### > # Third, create a view for us to let the group have rights to: > > > # Make at least snmpwalk -v 1 localhost -c public system fast again. > > # name incl/excl subtree mask(optional) > > view systemview included .1 > > > > > #### > # Finally, grant the group read-only access to the systemview view. > # group context sec.model sec.level prefix read write notif > > access notConfigGroup "" any noauth exact systemview none none > > > > > > > ############################################################################### > # System contact information > # > > # It is also possible to set the sysContact and sysLocation system > > # variables through the snmpd.conf file: > > > syslocation MSC (edit /etc/snmp/snmpd.conf) > > syscontact Mahmood ([email protected]) > > > > > # Added for support of bcm5820 cards. > pass .1 /usr/bin/ucd5820stat > > ############################################################################### > > # Further Information > # > > # See the snmpd.conf manual page, and the output of "snmpd -H". > > > trapcommunity public > trapsink default > > > Client Machine Details: > 1) Its a Dell 1950 server, OS Linux RHEL 5 installed, Net SNMP installed too. > The related packages such as net utils and libs are also installed. > 2) I made changes in the snmpd.conf file of the client machine. > First I set the 'syslocation', 'syscontact' > Second 'traps destination section' i set the command 'trapsink <hostname> > public. I didnt use trap2sink & informsink > Then i entered 'trapcommunity public' and set the 'authtrapenable = 1' > Third it asked what process I want to monitor I enterd 'proc auditd' > Forth, i set 'rocommunity public 172.21.144.4' for snmpV1. > > For testing when i disabled the process auditd, no alarm was received. > > Apart from this I am only able to receive alerts on zenoss mgr when this > machine reboots; shutdown or turn on. > > Someone please help!! > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=38141#38141 > > -------------------- m2f -------------------- > > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
