12-03-2009 10:48 PM
I've written some PowerShell functions for gathering data from Ironports (using the XML status pages). Kind of like the current Perl tools on the Ironport Support portal, but better 8)
I am using it to aggregate Top Hosts info, Ironport status etc from multiple Ironports. It sure beats logging in to each device over SSH and manually gathering data. Plus, PowerShell's built-in functionality makes filtering data and reporting a snap.
I'm willing to share what I have but wondered how much interest there would be.
Vote and if there's enough interest I'll polish what I have and stick it up.
Cheers
[edit] Work on this continues, I am writing it as a PowerShell Module and will probably host it on poshcode.org. I'd say it's probably 85% complete. Stay tuned.
I had some positive feedback from our Ironport reps when I met up with them last week and showed them what I have done so far.
12-21-2009 11:27 AM
I voted for this over on the old forums where you had it posted as a poll. That seems to have been lost in the migration, so I'll re-affirm my answer here. I'm a perl hacker myself, but one of my co-workers is deep into PowerShell.
01-06-2010 07:42 AM
Please keep the thread updated as you move forward on this project.
No idea how to "vote up" a thread, but I would if I could.
01-20-2010 07:13 AM
I'm just starting to wade into the pool that is PowerShell, would enjoy seeing what your doing.
04-27-2012 04:22 PM
Looks like this thread is pretty dead - I visited while trying to figure out how to use powershell to get the delivery status on my SMAs. I have a pretty good solution that uses powershell's ability to parse the status pages, which are in an XML format, and create a powershell object that you can then manipulate. This would be useful if you want to export the status for logging or to send a snapshot of the SMA status via email. Check it out!
05-03-2012 04:37 AM
Yeah, this was my original post. Apologies if it it seems I lost interest - the timing for my poll was pretty poor, just before the old Ironport Nation got shut down IIRC, so it did get buried. I actually assumed there wasn't much interest and kept it for my own use only, and haven't really ever got it to the point of being able to release for general use.
What I do have works pretty well for me, although some parts need finishing off and polishing for public release. If there's still genuine interest now, I will happily spend some time to fix up the bugs and make available for download (and take feedback for improvements/enhancements).
General
Main exported functions :
There are also some 'shortcut' / alias functions, which save time for common tasks.
Things I use this for:
We actually don't have many Ironport devices, but even so it saves me quite a bit of time and effort doing things this way. I'd imagine if you have a large global mail system to administer it would be even more valuable.
Let me know (in this thread, or PM) if you'd like to know more, or want to see this PS module made available for download. I'm a busy guy, but it shouldn't take too long to whip it into shape - it's mainly just removing private info (hostnames etc) and trapping some errors that I need to work on.
Cheers
11-07-2012 11:56 AM
Ross,
Definately would like to see more about the functions that you have created for the IronPort appliances. I'm especially interested in how you are doing graphing. My post on Get-Mailbox.net provides some basics of connecting to the appliances with PowerShell and I am planning to add to this discussion about how to get IronPort delivery status. Thanks!
11-12-2012 02:16 PM
Hi Scott
We are now using Solarwinds SAM for monitoring, which allows the use of custom PowerShell scripts. I use a PS script to extract the number of active recipients (and other counters, like CPU, memory utilization etc) from the Ironport XML status page. This allows us to alert when the number of queued messages exceeds a threshold. SAM also graphs all counters, so we can view historic data too.
Apologies I haven't got any closer to releasing anything yet. It's still on my to-do list, but keeps getting bumped due to higher priority work.
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