09-10-2024 08:22 AM
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
09-30-2024 11:19 AM
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
10-03-2024 09:09 AM
Hi Ekhabaro,
That's really helpful, thank you. I will look in to that now,
Kind regards,
Rob
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide