cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
437
Views
1
Helpful
2
Replies

Vmanage webhook diagnostics query

RobPrest
Level 1
Level 1

Hi, please could I check to see if anyone knows there is any access to be able to view the logs from attempted vManage webhooks (to see whether there were any that failed to go through). I can't find anything in the interface to show this, but I was wondering if there is any access to these logs via SSH?

Please could I also check whether the webhooks sent from a vManage are always going to originate from the same IP address? They have done so far with the testing that I have done, however before locking down the receiver to listen to specific IPs, I would like to make sure that I'm not going to lose any going forward,

Kind regards,
Rob


2 Replies 2

ekhabaro
Cisco Employee
Cisco Employee

This question is bit generic, but I'll try to answer. There are API calls to be enabled for more detailed logs for various webhook related activities. They can be enabled by navigating to /apidocs/#/Utility_-_Logging/setLogLevel on your vManage.

These settings are for webhook related itself:
com.viptela.vmanage.server.notifications.NotificationSettingsManager
com.viptela.vmanage.server.notifications.EmailNotificationContent
com.viptela.vmanage.server.notifications.EmailRuleAddContent
com.viptela.vmanage.server.notifications.NotificationsConsumer

Alarms related:
com.viptela.vmanage.server.correlation.engine.CorrelationEngine
com.viptela.vmanage.server.correlation.engine.AlarmsProcessorThrea
com.viptela.vmanage.server.correlation.engine.AlarmsDAO
com.viptela.vmanage.server.correlation.engine.AlarmsProcessorThread
com.viptela.vmanage.server.correlation.engine.AppliedRulesCache
com.viptela.vmanage.server.correlation.engine.CauseCorrelator
com.viptela.vmanage.server.correlation.engine.CorrelationDBManipulator

you should be looking for the following files:

/var/log/nms/vmanage-alarm.log
/var/log/nms/vmanage-server.log

Amount of logs will be significant....

Webhooks are always generated from VPN0 interface IP address. It must be able to resolve the URL of the API Gateway to send webhooks

See also https://www.cisco.com/c/en/us/support/docs/routers/sd-wan/214615-vmanage-configure-alarm-email-notificat.html

RobPrest
Level 1
Level 1

Hi Ekhabaro,
That's really helpful, thank you. I will look in to that now,
Kind regards,
Rob

Review Cisco Networking for a $25 gift card