- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Sample Generic Perl Script For Use with DDI API
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2015 03:46 PM - edited 08-10-2015 04:01 PM
This script is a generic Perl script template that I created a while back so I could easily leverage a lot of the basic actions that I typically need when working with the API. I don't always need everything in it but it's easier to have one template to work from than a bunch of unique scripts.
Most of this is utility type functions for processing command line options, establishing a connection with the Grid Master and then having a spot for all of the "custom" code to perform specific operations. If there's interest, I'll post a couple of examples of specific tasks later.
Re: Sample Generic Perl Script For Use with DDI API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2015 11:04 PM
Hey Eric, hope you're doing well. Thanks a mil for sharing that.
We're trying to compile a perl script that first does basic checks on the DDI box:
"Is DNS query disabled?"
"All the grid members up?"
"Is the time synced to the local NTP server?"
etc...
Then, does a dns query test that queries "all" their zones, outputs the results to a file, then does a comparison with another file that contains the expected output to verify they both match.