- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Verify logging works on CMA
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Verify logging works on CMA
Hi,
I have been looking into the API manual. But at the moment I can't figure out how to view logs from a CMA with a single command line.
The background issue is that we are chasing an odd thing in our MDS farm where all CMA's on 1 MDS server are unable to access the logs. They can do policy changes just fine.
TAC is working on it but in the mean time I was looking into a simple way to test if the logs work from the cammandline so we can use that in a script and check this say every 30 minutes. So we get a much faster indicator that we have an issue that we need to resolve with the workaround of doing a reboot. (As mdsstop;mdsstart is not always the way to get things going.)
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
are the logs being sent to each CMA or on a separate log server ?
If you want to check locally if logs are actually being received, check netstat -an |grep 257 for connected gateways on the CMA/DLS
Do you use any NATting (or masters files) to point the logs at a certain IP address ?
Are the logs being received but just not displayed in SmartConsole ?
Sorry, more questions than answers at the moment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not an API, but an idea. You probably can build a script which verifies a timestamp on the current raw logs file and signals you if it is older than XX minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try one of these:
mgmt_cli -r true show-logs -d <domain_name/CMA_IP> new-query.filter ""
mgmt_cli -r true show-logs -d <domain_name/CMA_IP> new-query.max-logs-per-request "100"
