Getting SMART info from HP P420i Contrller via a C# application - windows

We are trying to communicate with a hp server with a P420i controller via an application written in C#.We have used the "hpssacli" to retrieve SMART info.I was wondering if there is a set of library out there that we could interface to instead of working with command line interface. Can anyone help please?

You could use the hpssacli utility to do what it's meant to do... Something like hpssacli ctrl all show config.
Or configure the HP management agents to provide email alerts about the entire server's health.
Maybe even set up the HP management agents to send SNMP alerts.
You could leverage the HP Array Diagnostics Utility.
You could parse the HP Health Status Array output.
You could configure Agent-less Management and monitor the ILO4 instead of the OS.
Can you provide more context on why the C# application is necessary here?

Related

Zebra FX7500 - Problem connecting reader to MySQL database

I have an FX-7500 RFID Reader and my mission is to make an embedded system send the information of the tags read to a MySQL database that is in an internet domain. I have seen information that if I want to send data from the Reader to a database I must use the Java Embbebed SDK for Windows and in fact, I followed the manual that is there and I accomplished all those configuration steps that are there. However, I do not know how to configure the parameters of the MySQL database that I want to implement and since I have been like this for a month trying everything and well, it is a bit frustrating. I would like to know if you can give me clues or some templates to guide me since I know the language more or less and I have reviewed it in detail and I cannot find a way to find the objective.
I would really appreciate if you help me
Using Zebra Data Services for RFID you can connect your FX Reader directly to Zebra's cloud (no middleware software or hardware).
From there you can assign a webhook (including tag filters and JQ data transformation). When event subscriptions are configured, read events occurring on the reader will be sent by the reader to the cloud. From there Zebra's cloud will forward that tag read event to your subscribed webhook.
Here is a link to the howto videos and data services available.
https://developer.zebra.com/apis/data-svcs-for-rfid

Debugging credential provider crash

I am developing a credential provider for windows. I would like to know if it’s possible to attach and debug while running. As this is part of a logon process I am not sure if/how to do it.
Also, if a credential provider crashes, does windows dump a core like Linux does?
Thank you
You can invoke your credential provider using simple call to credentials API CredUIPromptForWindowsCredentialsW. See MS docs for detailed description.
I have been creating my own simple application to do this call.
It is tuned to call Windows Security Dialog with my own suggestions and options (CREDUIWIN_IN_CRED_ONLY flag in my case).
You can modify invocation flags to approximate your scenario.
The easiest way debug credential provider is to setup it on some other machine and use remote debug tools to attach to LogonUI.exe.

Dashboard for Websphere Instance or JVM status with HTML and php

Am not getting the perfect answer for my requirement. Please find the detailed requirement in Lyman English.
I have an application which is installed in Websphere Application Server 8.5 version.
Got a requirement for me to create a dashboard where in we can see the server status like whether the JVM is up or down, EAR deployed date etc.
Dashboard needs to be accessed from Internet explorer on Windows Desktop.
Could you let me know how to achieve this?
Note: Websphere is installed on Linux and IE is on Windows.
Thanks,
Nithin
This is quite broad question, so I'll just give you options that you will have to explore further by your own and choose the one that suits you best.
From the easiest one:
Use built-in admin console - WebSphere provides admin gui, if you dont want to allow users to change anything just give the user monitor role. He will be able to check server status, application status etc...
Use monitoring tool already available, like IBM Health Center, JConsole or 3rd party - I know, not the browser solution but maybe will fit your need
Install and use PerfServlet - it will give you WebSphere statistics in XML format. You can write your app to query that servlet for required params, then parse and present output
Finally use MBean API and write your custom monitoring app - the most difficult but also the most flexible.
Looking at your question, I'd suggest you to stay with option 1).

How to make mail notification/alert

I'm using Spring-Insight and Pivotal tc server to deploy and monitor two Spring applications but I have to create some alerts in case of threshold violation. Do you know if this is possible to make this alerting system without creating a customized plugin? I just can't find anything in the documentation.
Finally, I didn't find any solution to my problem but I think this is possible with a customized plugin. I personally chose another option : monitor my application with Dynatrace even if Dynatrace isn't free.

authorize.net mac API

I have built a kiosk environment in MAC OSX 10.6.6 and i wanto charge a PC user before he starts using the system. i have the application made. I wanto use authorize.net for authenticating. With what i have searched, CIM SOAP is the method i should use.
My question is is there any webservice available on authorize.net where i can send a xml file and expect a response .? If not, what other options do i have??
thanks in advance. If any sample code or reference is there, let me know( FOR MAC)
Authorize.Net's API is platform agnostic so it doesn't matter what environment you use it in. It can be a Mac, PC, POS system, or website, etc.
Their AIM API has an XML interface for processing transactions. You can get a developer's account to test your integration with. They also offer sample code to get you started.

Resources