SNMPD Query
Michael RISBY
michael.risby at ap.equinix.com
Fri Aug 21 07:51:20 UTC 2009
This is what I am using, however the thing is, it is not resolving my
dynamic dns from within the config.
IE; whatever domain/subdomain name in there, it will simply not resolve
it to an IP address.
That being said, ive checked the interface config and I can confirm that
lookups work from the machine.
I currently have 'risbo.no-ip.org' setup and placed in my config yet it
refuses to resolve.
From: ahsiangsiang [mailto:ahsiangsiang at gmail.com]
Sent: Friday, 21 August 2009 5:48 PM
To: Michael RISBY
Cc: ubuntu-server at lists.ubuntu.com
Subject: Re: SNMPD Query
Hi Michael,
How about DDNS (Dynamic DNS) service.....http://www.no-ip.com
Thanks
On Fri, Aug 21, 2009 at 3:25 PM, Michael RISBY
<michael.risby at ap.equinix.com> wrote:
Thanks for the replies, however this is not the case.
Yes I can look up all OID's of certain devices on localhost, however the
machine that is doing the 'walking' is on my home DSL connection which
has a dynamic address.
To try help solve this ill paste my snmpd config. (Note, certain aspects
will have changed but the overall thing is how it currently is. As you
will notice I have just kept adding whatever IP i happen to be assigned
from my ISP.
Basically I want to know if there is any way to have
'risbo.domainhere.com' dns lookup up, as it automatically updates with
my public IP at home.
interface eth0
agentaddress ###.###.###.###:161
# sec.name source
community
com2sec readonly 127.0.0.1
public
com2sec readonly risbo.domainhere.com public
com2sec readonly 203.33.163.104
public
com2sec readonly 203.33.161.196
public
com2sec readonly 220.253.176.185
public
com2sec readonly 220.253.65.105
public
com2sec readonly 220.253.183.56
public
com2sec readonly 220.253.178.34
public
com2sec readonly 203.33.164.73
public
com2sec readonly 220.253.181.245
public
com2sec readonly 203.33.166.200
public
com2sec readonly 220.253.72.245
public
# sec.model sec.name
group MyROSystem v1 paranoid
group MyROSystem v2c paranoid
group MyROSystem usm paranoid
group MyROGroup v1 readonly
group MyROGroup v2c readonly
group MyROGroup usm readonly
group MyRWGroup 1 readwrite
group MyRWGroup v2c readwrite
group MyRWGroup usm readwrite
# incl/excl subtree mask
view all included .1 80
view system included .iso.org.dod.internet.mgmt.mib-2.system
# context sec.model sec.level match read write notif
access MyROSystem "" any noauth exact system none none
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
#
------------------------------------------------------------------------
-----
-----Original Message-----
From: Aaron C. de Bruyn [mailto:ubuntu-server at darkpixel.com]
Sent: Thursday, 20 August 2009 1:10 AM
To: Michael RISBY
Cc: ubuntu-server at lists.ubuntu.com
Subject: Re: SNMPD Query
On 2009-08-19 at 22:58:16 +1000, Michael RISBY wrote:
> Date: Wed, 19 Aug 2009 22:58:16 +1000
> From: Michael RISBY <michael.risby at ap.equinix.com>
> To: ubuntu-server at lists.ubuntu.com
> Subject: SNMPD Query
>
> My problem is that I am constantly adding my changed dynamic IP to the
> snmpd.conf. I've tried to add a DNS and it just doesn't like to
> resolve it.
>
> Anyone got a work around or a potential solution that they would like
> to share?
If you are monitoring your own local system, change the IP for your
snmpd.conf to 127.0.0.1 and start monitoring that.
127.0.0.1 is your 'loopback' address. It means 'listen only to myself'.
If you are monitoring the system from remote, rather than constantly
updating your IP address, you can put in 0.0.0.0 which means 'listen on
all addresses'.
-A
--
ubuntu-server mailing list
ubuntu-server at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
--
i'm
Soon Siang, Shio
a Linux Toy Player
[please ping me at:] ahsiangsiang at gmail.com
[also at:] +6012-488-3692
------------------------------------------------------------------------
------------------------
Promoting:
WiKID Two-factor authentication, without the hassle factor
DSPAM - Just go ahead send me viagra
Ubuntu JeOS "Juicy" - Just Enough Operating System
Postfix - a Wietse Venema's mailer
and
*please AVOID sending me Word or PowerPoint attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
Before printing, please consider the environment.
Be GREEN!
ahsiangsiang in
.- .... ... .. .- -. --. ... .. .- -. --. morse code
ahsiangsiang
ASCII code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090821/1469f3db/attachment.html>
More information about the ubuntu-server
mailing list