XML API wizard or time to build my own plugin?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
davidhughes
Posts: 8
Joined: Mon Feb 22, 2021 5:37 pm

Re: XML API wizard or time to build my own plugin?

Post by davidhughes »

Thank you Benjamin. I am new to this forum, and you have been most helpful!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: XML API wizard or time to build my own plugin?

Post by benjaminsmith »

Hi,

You're welcome!. We're planning to add an option in the plugin to convert the ':' to another character so it doesn't break the PHP function.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
davidhughes
Posts: 8
Joined: Mon Feb 22, 2021 5:37 pm

Re: XML API wizard or time to build my own plugin?

Post by davidhughes »

Thanks for all your assistance in this matter Benjamin. My trial membership is about up, but based off the response you've provided, I am recommending XI to my company to support our existing in house monitoring platform.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XML API wizard or time to build my own plugin?

Post by lmiltchev »

@davidhughes thank you for recommending our product to your company! Please let us know if you have any further questions or it is OK to close this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
davidhughes
Posts: 8
Joined: Mon Feb 22, 2021 5:37 pm

Re: XML API wizard or time to build my own plugin?

Post by davidhughes »

If there is a feed I should monitor to watch for this colon handling? Or a timeline to release? If I could know when to anticipate this fix, I would consider this closed 10/10.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: XML API wizard or time to build my own plugin?

Post by benjaminsmith »

Hi David,

Attached is an updated version of the XML Config Wizard for testing. The following additions have been made:
1.0.1 - 03/22/2021
==================
- Added check option "-R _" to search for "name1:name2" style XML by using underscore like "name1_name2" -JO
- Added debugging option -v to show php arrays in case someone needs to see what to match -JO
Here's a sample command for checking that XML doc. Since there are multiple arrays in the XML, adding the -v flag to the command line can help determine the right structure when testing from the command line.

Code: Select all

./check_xml.php -u https://example.com/test.xml  -k gml_featureMembers[company_latestObservations][company_source] -s 'WTC'  -R _
Let us know if you're able to get that working.

Best Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked