<div dir="ltr">Put your URL in quotes and try again:<br><br><div>curl '<a href="http://dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod&_username=autouser&_secret=somesecret" target="_blank">dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod&_username=autouser&_secret=somesecret</a>'<br></div><div><br></div><div>...and again: better ask cmk things to the cmk list as there are more cmk users than on the OMD list here - and your issue will potentially get solved faster...</div><div><br></div><div>Reagrds,</div><div>Marcel</div><br><div class="gmail_quote">Deepak Goel <<a href="mailto:deepak.goel@snapdeal.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=deepak.goel@snapdeal.com&cc=&bcc=&su=&body=','_blank');return false;">deepak.goel@snapdeal.com</a>> schrieb am Mo., 18. Mai 2015 um 12:28 Uhr:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, I am using the following version of cmk<div><br></div><div><div>cmk --version</div><div>This is check_mk version<b> 1.2.6p1</b></div><div><b><br></b></div><div>I have created an Automation User named <b>autouser </b>with a secret key. I have given this user <a href="http://dg-poc.com/my_pre_prod/check_mk/wato.py?mode=edit_role&edit=admin&folder=" style="color:white;font-family:arial,helvetica,sans-serif;font-size:12px;background-color:rgb(66,109,138)" target="_blank">Administrator</a> role but still I am not able to do anything with this user.</div><div><br></div><div>Eg. When i make a curl call to activate changes, the following message pops up.</div><div><br></div><div><br></div><div><div>deepak@L-DeepakG-Tech:~$ curl <a href="http://dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod&_username=autouser&_secret=somesecret" target="_blank">dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod&_username=autouser&_secret=somesecret</a></div><div>[1] 20214</div><div>[2] 20215</div><div>deepak@L-DeepakG-Tech:~$ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"></div><div><html><head></div><div><title>401 Authorization Required</title></div><div></head><body></div><div><h1>Authorization Required</h1></div><div><p>This server could not verify that you</div><div>are authorized to access the document</div><div>requested.  Either you supplied the wrong</div><div>credentials (e.g., bad password), or your</div><div>browser doesn't understand how to supply</div><div>the credentials required.</p></div><div></body></html></div><div><br></div><div>[1]-  Done                    curl <a href="http://dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod" target="_blank">dg-poc.com/my_pre_prod/check_mk/wato_ajax_replication.py?site=my_pre_prod</a></div><div>[2]+  Done                    _username=autouser</div></div><div><br></div><div><br></div><div>Please hele me here.</div><div><br></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small"><table width="602" border="0" cellspacing="0" cellpadding="0" style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><tbody><tr><td colspan="3" height="1"><img src="http://i.sdlcdn.com/static/img/marketing-mailers/mailer/2014/signature_16may/images/img1.png" width="602" height="5" hspace="0" vspace="0" align="right"></td></tr><tr><td width="5" height="36"></td><td width="445"><div style="font-weight:bold;font-stretch:normal;line-height:16px;font-family:Arial,Helvetica,sans-serif"><font color="#b20000" style="font-size:15px">Deepak Goel</font><br><span style="font-size:11px">Build and Release Engineer</span></div></td><td width="179" rowspan="3" valign="bottom"><img src="http://i.sdlcdn.com/img/marketing-mailers/mailer/2015/signature_24mar/images/dilkideal_logo.png" width="179" height="93" align="right"></td></tr><tr><td height="46"></td><td><span style="font-stretch:normal;font-size:11px;line-height:16px;font-family:Arial,Helvetica,sans-serif;color:rgb(139,139,139)"><strong style="color:rgb(116,116,116)">M</strong>: +91 9910349045, <strong>EXT</strong>: 5981<br>237 OKHLA PHASE III, NEW DELHI 110 020, INDIA</span></td></tr><tr><td></td><td valign="bottom" height="44"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="300"><img src="http://i3.sdlcdn.com/img/homepage/03/sirertPlaceWrk2.png" width="288" height="71"></td><td><table width="120" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td align="left"><font color="#8b8b8b" style="font-stretch:normal;font-size:11px;line-height:16px;font-family:Arial,Helvetica">Download Our App</font></td></tr><tr><td align="left"><table width="120" border="0" cellspacing="0" cellpadding="0" align="left"><tbody><tr><td><a href="https://play.google.com/store/apps/details?id=com.snapdeal.main&utm_source=mobileAppLp&utm_campaign=android" target="_blank"><img src="http://i.sdlcdn.com/img/marketing-mailers/mailer/2015/signature_24mar/images/android.png" alt=" A" width="26" height="27" hspace="0" vspace="0" border="0" align="left" style="color:rgb(255,255,255);background:rgb(80,113,182)"></a></td><td width="8"></td><td><a href="https://itunes.apple.com/in/app/snapdeal-mobile-shopping/id721124909?ls=1&mt=8&utm_source=mobileAppLp&utm_campaign=ios" target="_blank"><img src="http://i.sdlcdn.com/img/marketing-mailers/mailer/2015/signature_24mar/images/apple.png" alt=" A" width="26" height="27" hspace="0" vspace="0" border="0" align="left" style="color:rgb(255,255,255);background:rgb(80,113,182)"></a></td><td width="8"></td><td><a href="http://www.windowsphone.com/en-in/store/app/snapdeal/ee17fccf-40d0-4a59-80a3-04da47a5553f" target="_blank"><img src="http://i.sdlcdn.com/img/marketing-mailers/mailer/2015/signature_24mar/images/window.png" alt=" W" width="26" height="27" hspace="0" vspace="0" border="0" align="left" style="color:rgb(255,255,255);background:rgb(80,113,182)"></a></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td colspan="3" height="1"><img src="http://i.sdlcdn.com/static/img/marketing-mailers/mailer/2014/signature_16may/images/img1.png" width="602" height="5" hspace="0" vspace="0" align="right"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
_______________________________________________<br>
omd-users mailing list<br>
<a href="mailto:omd-users@lists.mathias-kettner.de" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=omd-users@lists.mathias-kettner.de&cc=&bcc=&su=&body=','_blank');return false;">omd-users@lists.mathias-kettner.de</a><br>
<a href="http://lists.mathias-kettner.de/mailman/listinfo/omd-users" target="_blank">http://lists.mathias-kettner.de/mailman/listinfo/omd-users</a><br>
</blockquote></div></div>