Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

Re: snmp

Mad Unix

2008-01-16

Replies: Find Java Web Hosting

Author LoginPost Reply
[root@(protected)
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]

vi /etc/snmp/snmpd.conf

rocommunity secret
#agentaddress 10.5.1.31:161
#rocommunity public 127.0.0.1
#rocommunity public 10.5.1.31
#agentaddress 10.20.30.40:10000
#agentaddress tcp:161
#syslocation Bat. C2
#syscontact someone@(protected)
#dontPrintUnits true
#includeAllDisks
#disk /
#proc httpd

[root@(protected)
SNMPv2-MIB::sysDescr.0 = STRING: Linux linux1.sdc.lan 2.6.18-53.1.4.el5 #1
SMP Wed Nov 14 10:37:27 EST 2007 x86_64
[root@(protected) ~]#


whith this above configuration the snmpwalk works on the localhost, but when
i try to run it on the main server linux2
to collect snmp from the linux1, it wont work

[root@(protected)
Timeout: No Response from 10.5.1.31
[root@(protected)
Trying 10.5.1.31...
telnet: connect to address 10.5.1.31: Connection refused
telnet: Unable to connect to remote host: Connection refused

any help


On Jan 15, 2008 10:11 PM, Roderick Derks <redhat@(protected):

> These are valid options:
>
> rwcommunity username 127.0.0.1
> rwcommunity username 192.168.0.1
> rocommunity public 0.0.0.0
> trapcommunity public
> trapsink 192.168.0.1 public
> syscontact NAME_OF_CONTACT
> syslocation LOCATION
>
> Grtz,
> Roderick
>
>
> ----- Original Message -----
> From: "Mad Unix" <madunix@(protected)>
> To: "General Red Hat Linux discussion list" <redhat-list@(protected)>
> Sent: Tuesday, January 15, 2008 6:30:43 PM (GMT+0100) Europe/Berlin
> Subject: snmp
>
> I have installed snmp on my RHEL5, how can i aaply my community
> "name_of_comunity" inside the snmpd.conf
>
> [root@(protected)
> snmpd       0:off  1:off  2:off  3:off  4:off  5:off  6:off
> snmptrapd     0:off  1:off  2:off  3:off  4:off  5:off  6:off
> [root@(protected)
> /etc/snmp/snmpd.conf
>
>
>
> --
> madunix
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
madunix
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.