It was changed from global to nagios-env in 1.6.1, but the documentation wasn't updated. Was it then changed back again in 1.7.0?
Greg On 8/20/14 3:10 PM, "Siddharth Wagle" <[email protected]> wrote: >Hi Greg, > >You config type looks wrong. > >"nagios-env" should actually be "global". > >https://cwiki.apache.org/confluence/display/AMBARI/Blueprints > >Created a Jira to prevent NPE, >https://issues.apache.org/jira/browse/AMBARI-6957 > >-Sid > > >On Wed, Aug 20, 2014 at 12:32 PM, Greg Hill <[email protected]> >wrote: > >> I started working on the ambari client again, so I wanted to make sure >> what I had written before still worked on trunk. Sadly, creating a >>server >> is giving me a 500 error with no details. I had to dig into the server >> logs to see what went wrong. Looks like a NullPointerException. I've >> included the script I'm using and the stack trace from the server log. >> >> https://gist.github.com/jimbobhickville/9b95bbedc4f3380ffa11 >> >> Based on the stack trace, it looks like I'm missing some required >> configuration, but I don't know what. Was some additional configuration >> required recently? I'm only passing in: >> >> { >> "nagios-env" : { >> "nagios_contact" : "[email protected]" >> } >> } >> >> As that was all that was required previously. >> >> Greg >> >> > >-- >CONFIDENTIALITY NOTICE >NOTICE: This message is intended for the use of the individual or entity >to >which it is addressed and may contain information that is confidential, >privileged and exempt from disclosure under applicable law. If the reader >of this message is not the intended recipient, you are hereby notified >that >any printing, copying, dissemination, distribution, disclosure or >forwarding of this communication is strictly prohibited. If you have >received this communication in error, please contact the sender >immediately >and delete it from your system. Thank You.
