Yes of course.
Few lines from <INPUT>
143599203|No|NACK|ENA||Major|20180129054027||ARM|NSA|PRM|0|DCN|Insuffi
+cient SNMP security settings|HN408-CP-1E-I|3176 && ne|||||||No||
143599356|No|NACK|ENA|ip|Major|20180129054037||CLR|NSA|PRM|0|DCN|CLEAR
+ED: Network element does not respond to SNMP requests|HN4000e|3176 &&
+ ne|||||||No||
143599357|No|NACK|ENA|ip|Major|20180129054039||CLR|NSA|PRM|0|DCN|CLEAR
+ED: Insufficient SNMP security settings|HN4000e|3176 && ne|||||||No||
143599999|No|NACK|ENA|ip|Major|20180129054529||ARM|NSA|PRM|0|DCN|Netwo
+rk element does not respond to SNMP requests|HN4000e|3176 && ne||||||
+|No||
I've redacted the IP address and replaced with ip and also entered ne in place of a 6-9 digit number as it's sensitive, but hopefully this gives an idea of the format. Here's a sample of the output the script currently produces. 1st and 2nd column are $node_ip and $ne (both redacted) and third column is then $total{$ne}++ that seems to increment just fine and the final column is what I'm trying to call as the max but it increments regardless of what $ne is.
ip1 5 | Network element does not respond to SNMP requests |
+ 212 |
ip2 213 | Network element does not respond to SNMP requests |
+ 213 |
ip2 214 | Network element does not respond to SNMP requests |
+ 214 |
ip3 4 | Network element does not respond to SNMP requests |
+ 214 |
ip2 215 | Network element does not respond to SNMP requests |
+ 215 |
ip2 216 | Network element does not respond to SNMP requests |
+ 216 |
ip4 1 | Network element does not respond to SNMP requests |
+ 216 |
ip2 | 217 | Network element does not respond to SNMP requests
+| 217 |
ip2 218 | Network element does not respond to SNMP requests |
+ 218 |
ip2 219 | Network element does not respond to SNMP requests |
+ 219 |
|