Hi Everyone,
I'm trying to configure my 2930F to send logs to NLS, at the moment all the devices are on the same network and not blocked by any firewalls etc... but NLS isn't recieving anything.
I've screenshot the Aruba config... any ideas?
SNMP Traps HP Aruba Switches
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
SNMP Traps HP Aruba Switches
You do not have the required permissions to view the files attached to this post.
Re: SNMP Traps HP Aruba Switches
What's the input(https://www.elastic.co/guide/en/logstas ... ptrap.html) look like on the NLS side? Is port 162 open on the NLS side(netstat -na | grep 162)? Do you see the traps coming in on NLS(yum -y install tcpdump; tcpdump -i any port 162)? Port 162 is considered a privledged port and would need additional configuration to be opened(https://assets.nagios.com/downloads/nag ... Server.pdf).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: SNMP Traps HP Aruba Switches
I've changed the logstat to root but still not recieving anything
Re: SNMP Traps HP Aruba Switches
What does the input config look like?
Is port 162 open?
Do you see any incoming traffic on port 162?
Is port 162 open?
Do you see any incoming traffic on port 162?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: SNMP Traps HP Aruba Switches
Where do i find that?
Re: SNMP Traps HP Aruba Switches
An snmptrap input needs to be created under Configure > Global > Global Config > Inputs, before NLS will be able to accept traps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: SNMP Traps HP Aruba Switches
What would i have to put in their? Also i've noticed someone trying to access it from another IP, is there a way to tell NLS to only accept commands from certain IP's?
Re: SNMP Traps HP Aruba Switches
To have it listen on port 162 for incoming traps:
snmptrap {
port => '162'
}
Other config options are covered in https://www.elastic.co/guide/en/logstas ... ptrap-port.
You can restrict access to the machine from others using iptables. iptables is outside the scope of NLS but there is a ton of information on the web regarding it - https://www.linode.com/docs/security/fi ... -iptables/ is a nice into to it.
snmptrap {
port => '162'
}
Other config options are covered in https://www.elastic.co/guide/en/logstas ... ptrap-port.
You can restrict access to the machine from others using iptables. iptables is outside the scope of NLS but there is a ton of information on the web regarding it - https://www.linode.com/docs/security/fi ... -iptables/ is a nice into to it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: SNMP Traps HP Aruba Switches
Worked perfectly! All resolved now