kentik / snmp-profiles

SNMP Profiles for ktranslate
Apache License 2.0
24 stars 63 forks source link

Update cisco-firepower.yml #717

Closed al3kh closed 9 months ago

al3kh commented 10 months ago

added cisco-all-devices.yml & cisco-firepower-asa.yml as extended yml

al3kh commented 10 months ago

@thezackm Hi can you please approve. thanks

thezackm commented 10 months ago

@al3kh - thank you for the submission; this PR is going to generate a few conflicts on basic metrics and has a relatively high risk of creating a situation with a large number of failed SNMP polls due to unsupported OIDs in the profiles you're using for extends. (the profile is isolated based on previous SNMP walks received from customers that showed a limited amount of SNMP support compared to a traditional Cisco device)

Can you identify specifically which OIDs are missing from the existing cisco-firepower.yml profile that you are trying to capture with this request?

al3kh commented 10 months ago

Hi @thezackm. I am looking for crasNumDeclinedSessions, crasNumSessions, crasMaxSessionsSupportable, crasNumUsers, crasMaxUsersSupportable, crasNumSetupFailInsufResources from cisco-firepower-asa.yml and entPhysicalDescr ,entPhysicalClass, entPhysicalName, entPhysicalSerialNum, entPhysicalModelName from cisco-all-devices.yml

thezackm commented 10 months ago

thanks @al3kh - what is the systemobjectid for the device(s) you are targeting? Alternatively; if you could provide a sanitized output of a full SNMP walk on a sample device that would be helpful here.

The metrics you're requesting make sense, but we want to make sure they are added in a way that is scalable to all users and is as 'future-proof' as possible.

you should be able to copy/paste this command on the host you're using for ktranslate and then either upload the output file here or as a Gist.

snmpwalk -v 2c -On -t 10 -c $COMMUNITY_STRING $IP_ADDRESS . >> snmpwalk.out
al3kh commented 10 months ago

Hi @thezackm. The sysoid for the device is ".1.3.6.1.4.1.9.1.2404". Also PFA the snmpwalk output on the sample device. snmpwalkfpr.txt

thezackm commented 10 months ago

@al3kh - take a look at PR #719 and see if it meets your needs.

al3kh commented 10 months ago

@thezackm LGTM

thezackm commented 9 months ago

closing this one, addressing the need in #719