- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SNMP howto configure /etc/snmp/snmpd.local.conf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 10:46 AM
тАО03-05-2006 10:46 AM
SNMP howto configure /etc/snmp/snmpd.local.conf
I'd like to get network interface statistics
via cacti (rrdtool) network from my public webserver
running on Debian Sarge Stable.
I've installed snmpd and changed already
in /etc/snmp/snmd.conf the following entry to:
com2sec readonly default myprivate
but if I start snmpwalk, then I get following message:
# snmpwalk -v 1 -c myprivate localhost system
SNMPv2-MIB::sysContact.0 = STRING: Root
SNMPv2-MIB::sysName.0 = STRING: ext.undostres.ch
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (configure /etc/snmp/snmpd.local.conf)
I've created a file /etc/snmp/snmpd.local.conf ,
but really don't know what should I put inside ?
for a security reason I'd like to allow snmp only from/to localhost.
kind regards
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 06:25 PM
тАО03-05-2006 06:25 PM
Re: SNMP howto configure /etc/snmp/snmpd.local.conf
One comment, if you allow snmp from only local host, you may be defeating the purpose of snmp, which is to monitor this host from another machine and know when its up and down.
I would suggest also allowing access to your snmp monitor machine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 06:25 PM
тАО03-05-2006 06:25 PM
Re: SNMP howto configure /etc/snmp/snmpd.local.conf
You should modify these values.
I don't think you need snmpd.local.conf.
What kind of snmpd package did you install?
I have net-snmp-5.0... and no snmpd.local.conf.
Will cacti work if you only allow local snmpwalks?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 08:11 PM
тАО03-05-2006 08:11 PM
Re: SNMP howto configure /etc/snmp/snmpd.local.conf
NET-SNMP version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
yes cacti is working,
but howto allow snmp only to the localhost, because this is only one external machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 09:01 PM
тАО03-05-2006 09:01 PM
Re: SNMP howto configure /etc/snmp/snmpd.local.conf
1) Install snmpd package (apt-get install snmpd)
2) Configure snmpd settings in /etc/snmp/snmpd.conf
3) Restart snmpd with new settings "/etc/init.d/snmpd reload"
4) Enable snmpd in /etc/hosts.allow "snmpd:
5. Enjoy
Regards,
Sergejs