Monitor my siteminder application - siteminder

Is there any "out of the box" siteminder tool that checks if the siteminder server / application is runnig?
e.g. I send a request by a url like http:/mysiteminderapplication:myport/check_heartbeat.html and it responses me the actual status like ok, error, etc.
Sorry, I have never seen an siteminder installation but I have to check this fact for a customer.
thank you in advance,
Patrick

You can use the One View Monitor to check the policy server status. It returns a lot of HTML though, you would need to parse the XML to get the values.

You can monitor smpolicysrv services by writing some scripts on siteminder server. As said above you can have oneView monitor too.
I have seen customers using Splunk Siteminder App.
https://splunkbase.splunk.com/app/842/

Related

Is there any way we can modify Json data coming in the network tab of chrome and see the changes in the web page?

The webpage Template loads data via some json data we get from the endpoint.
I have a Rest Api and a Angular Front end . The Angular app populates the template from the data coming in from the rest api which we can see in the Network Tab of Chrome Developer Tools.
Is there any way we can modify the Rest data in Network tab and see the changes that occurs in the Webpage.
Is that even possible, It might sound a stupid question but i guess this might be a very special tool if there is not much interaction between the Back end and Front end teams.
I am not quite sure if i am able to explain it properly but this was the best i could edit please bear with me thanks
Just a Screen Shot of the type of data in Network tab.
Sample Data Network Tab
It is not possible from chrome's network tab. You have to use BurpSuite for example which is available in Kali linux as a default. With that you can intercept http requests and responses and modify it's payload.
You can get it from here: https://portswigger.net/burp/
No, you're not able to modify XHR data as you can other sources. What I do is just copy the file to my local drive and temporarily modify it's source. I test responses from API's using Postman and it's pretty awesome.
I have to say I'm a little bit afraid for you though. It's not a great idea to be consuming services from external api's from the client side. Are your API keys and passwords hanging out in that client side code somewhere?

How to prevent duplicate http requests?

We have Intermec CK71 mobile devices (WiFi). There will always be a scenario in which the device sends a request (GET, PUT, or POST), then loses connection. What methods can we use to prevent duplicate PUTs or POSTs? How does the client device know whether or not the server processed its request before losing the connection?
I have seen similar posts like this but the marked answer doesn't go into much detail. I'm not even sure where to begin. Should I be looking into caching (ETag, last modified), or some type of handshaking?
The client device has the .Net Compact Framework 3.5 on it and is hitting the server via its Web API 2 endpoints.
If someone can point me to the right direction or offer any suggestions it would be much appreciated. Thanks.
I am not using REST but as far as I read the information there is no easy way to get an acknowledge and avoid duplicate POST.
As with other high level API frameworks you are tied to what the API offers and it looks like the designers did not think about connection aborts.
The easiest way to workaround this seems to use an unique ID with every post and check the server for knowing these UID before re-posting. If the server does not response with OK for an POST, you have to assume the connection has broken or other things went wrong. Then query the server for the UID you posted to know if the pervious POST was succesful before you try another POST with the same data and UID.
Possibly there is some transaction encapsulation available with REST as available for sql server. A 'transaction' protocol would ensure that a POST has been processed succesfully or will be 'rolled' back, if something failed.
Sorry, but I do not know much about REST.

Aggregating HTTP Response Codes for Reporting in ASP.NET

I am new to the Windows IIS environment, coming from Linux/Apache. At my new job (ASP.NET shop), they don't currently monitor 404s or any other non-200 HTTP response codes so problems with missing images and files from the website or 500 errors don't surface until a customer emails us weeks later.
What do you guys use to monitor, aggregate and display these responses in .NET? In my old job, I had a script attached to the 404 handler that inserted into a database and from there I created a dashboard that grouped and displayed all the 404s so it was easy to see issues with missing files, etc.
Not sure if it's best to handle at the application level or with some log file aggregator.
What is the best practice for doing the same in ASP.NET?
I appreciate any advice on this
Thanks
You may take a look at ELMAH which is specifically designed for this purpose.

Consuming SOAP web service for a cocoa application

I am trying to consume a SOAP web service into a cocoa application. The return value which is printing in the log is an HTML error page.
My Main objective is to pass two parameters to the web service and get a value in response. Can anyone please suggest correct way of achieving this?
It could be any number of things. For startes: you may be hitting the wrong URL, you may be sending invalid data and the server is not returning a valid error. The best thing to do is check what you are doing against any docs you may have, then contact the person working on the server side of the project for help debugging.
I know that is not a very specific answer, but I don't have a lot to go on. Hope it helps.

Location of received messages / intercepting with incoming messages

May i know if there is anyway i can intercept or retrieve the windows phone message from?
I'm trying to create an application, sending the message isn't a problem but i'm having some problem looking for the retrieved message in any means. My plan is to use SMS to transmit data so i'm planning to create a template to display it.
Hope someone can advice. Thanks everyone! :)
Currently there are no API's to access SMS in WP7 or 7.5 but in future if MS shows mercy then it may be possible.
You can check this link and vote for SMS access API's.
If you're talking about the windows phone's messaging app, then you cannot access the data. The API does not provide anyway to access such information, from your application, for security reasons. So, intercepting calls or messages are not allowed.

Resources