Feature #2945
snmp support
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-net-snmp | |||
Target version: | v6.6 | |||
Resolution: | NEEDINFO: | Yes |
Description
Add support for snmp.
Associated revisions
First import. Refs #2945
Add db defaults and snmpd.conf template. Refs #2945
Web UI: first implementation. Refs #2945
createlinks: expand config file and restart daemon. Refs #2945
db: change default status to disabled. Refs #2945
createlinks: implement save event. Refs #2945
Web UI: moved to Configuration section. Refs #2945
History
#1 Updated by Filippo Carletti almost 7 years ago
yum install net-snmp chkconfig snmpd on config set fw_snmpd service status enabled UDPPort 161 access private service snmpd start signal-event firewall-adjust
#2 Updated by Filippo Carletti almost 7 years ago
- Target version set to v6.6-beta1
#3 Updated by Giacomo Sanchietti over 6 years ago
- NEEDINFO changed from No to Yes
Do we really need a package? Should the server be configurable?
Whant about a simple documentation page?
#4 Updated by Giacomo Sanchietti over 6 years ago
- Target version changed from v6.6-beta1 to ~FUTURE
#5 Updated by Filippo Carletti over 6 years ago
- Target version changed from ~FUTURE to v6.6-beta1
A minimal server-manager panel to configure the service should have the following fields:
- status: enabled/disabled
- community (default public)
- location
- syscontact (optional) email address for notifications (default=root/admin)
#6 Updated by Davide Principi over 6 years ago
- Target version changed from v6.6-beta1 to v6.6-rc1
#7 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
#8 Updated by Giacomo Sanchietti over 6 years ago
- Target version changed from v6.6-rc1 to v6.6
#9 Updated by Giacomo Sanchietti over 6 years ago
- Category set to nethserver-net-snmp
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#10 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#11 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-net-snmp-0.0.1-1.5.g9b12d1f.ns6.noarch.rpm
- Check the SNMP server is not started by default
- Enable SNMP server
- Query the server:
snmpwalk -mALL -v2c -cpublic localhost
- Enable SNMP server
- Modify the contact, the community (eg. mypublic) and the location
- Query the server:
snmpwalk -mALL -v2c -cmypublic localhost
#12 Updated by Filippo Carletti over 6 years ago
- Status changed from ON_QA to TRIAGED
- % Done changed from 70 to 20
snmpd answers connections from localhost but not from network: port 161/udp is closed.
Run signal-event firewall-adjust and port 161/udp is opened and queries answered.
#13 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#14 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#15 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-net-snmp-0.0.1-1.7.g777ae97.ns6.noarch.rpm
#16 Updated by Filippo Carletti over 6 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
[root@ns65 ~]# iptables -nL | grep 161 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:161 /* smb */
Only one remark: the comment is "smb" instad of snmp.
#17 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in nethserver-updates:
- nethserver-net-snmp-1.0.0-1.ns6.noarch.rpm
- http://docs.nethserver.org/en/latest/snmp.html
- http://docs.nethserver.org/projects/nethserver-devel/en/latest/snmp.html
Created new yum group: nethserver-net-snmp