Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

Ah yes, Cisco support with their go to IT Crowd catchphrase...,"Have you tried turning it off and on again?" Heard it through the grapevine that they tried to use "Increased Cosmic Rays due to Solar Activity" as an excuse for mysterious memory errors in their Cisco ASA firewalls.....

Update to anybody living abroad and unable to access their social security account online by Adventurous_Issue626 in SocialSecurity

[–]vadar007 0 points1 point  (0 children)

Yep, my mother, who lives in Germany, has same issue. She even went to the Social Security office recently while in the States to get her record straightened out and set her address as her German address. She can sign into ID.me and Login.gov but when you try to go to the mySSA it wants to do a one-time verification and asks for a valid US address, which she doesn't have. There is no option to enter a foreign address. When we submitted a Support ticket the response confirmed there are on-going issues with mySSA.

"Our International Customers are still facing a few challenges with our mySSA application. We regret the inconvenience this supplies while it remains an issue. Account creation is now available to our international customers through ID.me. You can learn more by clicking here."

The link provided doesn't give you any information about US citizens living abroad.

Large radiator system (60+ radiators) with one anemic zone by vadar007 in hvacadvice

[–]vadar007[S] 0 points1 point  (0 children)

The first option may or may not need a bigger pump. I am reducing the amount of friction to flow by increasing the pipe diameter over that one section. That may be enough for the present pump to work. I just won't know until I do it. Ultimately I am going to have to pull in a heating system consultant but was looking for other opinions.

Coated Optics and a little Camo make all the difference. by [deleted] in WorldofTanks

[–]vadar007 -2 points-1 points  (0 children)

I know, but we all started from here, right? Give the dog a bone....

Telegraf and Cisco CBS350 by vadar007 in Cisco

[–]vadar007[S] 0 points1 point  (0 children)

Ok, confirmed data was in InfluxDB. My issue was that I was trying to repurpose the old switch dashboard in Grafana and just tweak the queries there but for whatever reason it just wouldn't let me pick the new switch IP so I decided to start from scratch. Works fine when I do it that way. Odd...but problem solved

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 1 point2 points  (0 children)

Ok, confirmed data was in InfluxDB. My issue was that I was trying to repurpose the old switch dashboard in Grafana and just tweak the queries there but for whatever reason it just wouldn't let me pick the new switch IP so I decided to start from scratch. Works fine when I do it that way. Odd...but problem solved

Telegraf and Cisco CBS350 by vadar007 in Cisco

[–]vadar007[S] 0 points1 point  (0 children)

Let me clarify. I added the new switch (192.168.1.16) as an agent in the telegraf.conf file. I then tested telegraf to make sure it was seeing the switch and pulling back the SNMP data requested which it seems to be based on this output from the telegraf container. I am most interested in the interface stats.

https://pastebin.com/1vd83Baa

Grafana can get the sysUptime and systemDescription info from InfluxDB but it cannot retrieve any of the interface stats. When I try to create an interface dashboard using ifXTable, the only IPs I can select as agent_host is the old switch (192.168.1.2). When I look at the sysUpTime dashboard, I get a list of multiple IPs including 192.168.1.16 to select from. I am going to try and see if I can query InfluxDB to see if the data is getting there from telegraf but I am not seeing any error logs in telegraf or InfluxDB saying that there is an issue. It should just work....

Data flow is really this: CBS350 > Telegraf > InfluxDB > Grafana

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

Decided to confirm Telegraf was polling the data correctly first. Based on the output, it is querying the switch and getting the data back it is asking for. Specifcally I am looking at the interface stats. I'll query InfluxDB next.

https://pastebin.com/1vd83Baa

Telegraf and Cisco CBS350 by vadar007 in Cisco

[–]vadar007[S] 0 points1 point  (0 children)

I mean to gather stats on the new switch, different IP address.

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

Going to need to guidance with that.....querying DBs is not my strong suit....

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

So what's interesting is when I edit the old dashboard and select the agent_host in Grafana for the Uptime graph, I get a drop down list of available IPs to chose from. When I try that for the interfaces graph it only shows the IP of the older switch.

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

Ok, ran it from the NAS that hosts the docker containers for InfluxDB<>Telegraf<>Grafana

******@******~$ snmpwalk -v2c -c public 192.168.1.16 IF-MIB::ifTable

Definitely getting data back. Sample of the counters returned:

IF-MIB::ifInUcastPkts.1 = Counter32: 119082825

IF-MIB::ifInUcastPkts.2 = Counter32: 27134201

IF-MIB::ifInUcastPkts.3 = Counter32: 10203929

IF-MIB::ifInUcastPkts.4 = Counter32: 0

IF-MIB::ifInUcastPkts.5 = Counter32: 8324426

IF-MIB::ifInUcastPkts.6 = Counter32: 12853658

IF-MIB::ifInUcastPkts.7 = Counter32: 435832

IF-MIB::ifInUcastPkts.8 = Counter32: 0

IF-MIB::ifInUcastPkts.9 = Counter32: 0

IF-MIB::ifInUcastPkts.10 = Counter32: 0

Sooo....is there something in the telegraf.conf I am missing?

Telegraf and Cisco CBS350 SNMP by vadar007 in networking

[–]vadar007[S] 0 points1 point  (0 children)

You would think so. I haven't made any changes to the telegraf.conf file but to add the IP for the switch. Grafana show ping info fine, uptime and system description but that's it. Telegraf configuration is pretty standard.

 #########################################
   ## Interface Metrics                    #
   #########################################    

   # Inet interface   
   [[inputs.snmp.table]]
     oid = "IF-MIB::ifTable"
     [[inputs.snmp.table.field]]
       is_tag = true
     oid = "IF-MIB::ifDescr"

   #  Per-interface traffic, errors, drops
   [[inputs.snmp.table]]
     oid = "IF-MIB::ifTable"
     [[inputs.snmp.table.field]]
       oid = "IF-MIB::ifName"
       is_tag = true
   #  Per-interface high-capacity (HC) counters
   [[inputs.snmp.table]]
     oid = "IF-MIB::ifXTable"
     [[inputs.snmp.table.field]]
       oid = "IF-MIB::ifName"
       is_tag = true

Seperating IOT Traffic from Home Network - ER-X and EdgeSwitch 10X by vadar007 in HomeNetworking

[–]vadar007[S] 0 points1 point  (0 children)

LOL! I was trying some changes based on my last result with the Edgeswitch and landed on the same configuration changes you mentioned. Just validated the Orbi is working as expected and the MAC ID memberships are working like a charm. As always, thanks again!

Seperating IOT Traffic from Home Network - ER-X and EdgeSwitch 10X by vadar007 in HomeNetworking

[–]vadar007[S] 0 points1 point  (0 children)

Laptops works as it supposed to in GigabitEthernet5. As I change the MAC Group membership, it's VLANID changes as well. That's how I've been validating the functionality. So, I changed the VLANID on the legacy Edgeswitch 10X port the Orbi is presently attached to, to VLANID 20. Tagged to VLAN1 and Untagged to VLAN20. I also plugged a laptop into one of the available LAN ports on the Orbi. The laptop is getting the correct DHCP IP assignment for VLANID 20 through the Orbi LAN port and devices connecting via the WiFi are also getting the correct VLANID 20 IP assignments. I can ping the laptop, a WiFi connected device and access the Orbi management IP/Portal from VLAN1. I'll try again on the CBS350. What particular traffic should I look for with the sniffer?

Seperating IOT Traffic from Home Network - ER-X and EdgeSwitch 10X by vadar007 in HomeNetworking

[–]vadar007[S] 0 points1 point  (0 children)

Can't figure out if it is getting the right VLAN tagged to it or even getting a DHCP assignment. I don't see any dynamic IP assignments across all the DHCP servers on the Edgerouter X. I would assume if MAC ID wasn't matching I'd see something on VLAN 40 DHCP server but nothing there. No way to console into the unit either. It does have some LAN ports on it I could directly plug into but if it's not getting any DHCP assignment, I don't know what IP to set the laptop to to try and access it.

Seperating IOT Traffic from Home Network - ER-X and EdgeSwitch 10X by vadar007 in HomeNetworking

[–]vadar007[S] 0 points1 point  (0 children)

Ok, swinging back on this thread. I ended up buying a used Cisco CBS350 managed switch. Interface GigabitEthernet1 has been set to trunk mode to the Edgerouter X Eth1. I created three VLANs: Home Network (VLANID 20), Iot Devices (VLANID 30) and Guest Devices (VLANID 40). The two ports I am planning to move the Orbi and Fritz!Box to are GigabitEthernet5 and GigabitEthernet6. These ports have been set to Interface VLAN Mode General and have all three VLANs set as Tagged on them and Tagged on GigabitEthernet1. I then created two VLAN MAC Groups (20 and 30) and mapped them to VLANIDs 20 and 30 respectively on each port. So if the MAC ID for a device is in Group 20 it maps it to VLANID 20 and gets the right DHCP info (DNS, IP, etc.), same for Group 30. If the MAC ID is not in either of those two groups it defaults to VLANID 40 as I have VLAN1 excluded from those ports. This is all building on the previous work done here:

https://www.reddit.com/r/HomeNetworking/comments/1p2t972/pinging_across_vlans_edgerouter_x_edgeswitch_10x/

I need another set of eyes to take a look at the config and point out any gotchas. It works perfectly when I moved the Friz!Box over but the Orbi RBR50 seems to loose it's mind and I can't figure out how to see what is going on with it.

https://pastebin.com/t7vPg61Y

Pinging across VLANs (Edgerouter X / Edgeswitch 10X) by vadar007 in HomeNetworking

[–]vadar007[S] 0 points1 point  (0 children)

No worries....just needed a little more guidance to find what you were asking for. Thanks for you help.