On Wed, 2004-12-15 at 01:00, Tharanga wrote:
> Hi all,
>  
> iam using jffnms to monitor qmail server running on debian.if i used
> a  manual discovery it shows only open ports on debina meachine
> not  hardware information or other informations i think its due to
> misconfiguaration of snmp agent. i need to get snmp information. how
> do  i configure the snmp agent on debian meachine(my mail server). any
> one  can help me to configure a snmp agent.
>  rgds

1.- Check the access list in the /etc/snmp/snmpd.conf file:

#       sec.name       source          community
com2sec local          localhost       your_community_password
com2sec readonly       host_ip         your_community_password
com2sec another_name   host_ip         your_community_password
####
# Second, map the security names into group names:
#               sec.model  sec.name
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         readonly
group MyROGroup v2c        readonly
group MyROGroup usm        readonly
group MyROGroup v1         another_name
group MyROGroup v2c        another_name
group MyROGroup usm        another_name
###

 
2.- Check and add the following line in /etc/hosts.allow file :

snmpd : ALL : ALLOW

3.- Open the snmp ports at your debian box:
iptables -A INPUT -p tcp -s 0/0 --dport 161:162 -j ACCEPT
iptables -A INPUT -p udp -s 0/0 --dport 161:162 -j ACCEPT


>  tharanga
-- 
Guillermo Salas M.
Telconet S.A. Manta
Calle 15 y Av. 24 Esq.
Phone : 593 5 262 8071
Mobile: 593 9 985 5138
e-mail: [EMAIL PROTECTED]
www   : http://www.telconet.net
        http://www.telcocarrier.net

Linux User: 255902
Soporte en Linea en http://www.manta.telconet.net

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to