Forum Discussion
Powershell command to retrieve System | Logs | Local Traffic messages
Is there an iControl command for PowerShell to retrieve System | Logs | Local Traffic? I want to pull the event logs to count how many times a pool member was down for a period of time.
Tue May 20 04:05:23 CDT 2014 notice local mcpd[16943] 01070640 Node XX.XX.XX.XX monitor status down Tue May 20 04:05:23 CDT 2014 notice local mcpd[16943] 01070638 Pool member XX.XX.XX.XX:80 monitor status node down. Tue May 20 04:05:23 CDT 2014 notice local mcpd[16943] 01070638 Pool member XX.XX.XX.XX:80 monitor status down. Tue May 20 04:05:28 CDT 2014 notice local mcpd[16943] 01070728 Node XX.XX.XX.XX monitor status up.
https://devcentral.f5.com/wiki/iControl.System.ashx
Thanks.
1 Reply
- What_Lies_Bene1
Cirrostratus
Look here: https://devcentral.f5.com/wiki/iControl.System__ConfigSync__download_file.ashx but note I think it's a bit flawed based on a post a few years back. I've asked Joe Pruitt if things have improved since.
I'm keen on using this for all sorts of things so I've also added a question here: https://devcentral.f5.com/questions/programmability-guru-panel-thursday-june-5-2014-what-questions-do-you-have-for-the-panel-members.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com