Joystick port button monitor

Need new test, action, option? Post request here.
Post Reply
renders
Posts: 3
Joined: Tue Nov 30, 2004 5:43 pm

Joystick port button monitor

Post by renders »

Has anyone made a script or a test to check the button status on the joystick port? I use Nagios with a script that does this and was hoping to do the same under HostMonitor..

Thanks

Rob
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What kind of script you have used? VB Script? Java Script? Perl? Probably you can use the same script? HostMonitor has 2 test methods that can execute scripts: Active Script and Shell Script.

Regards
Alex
renders
Posts: 3
Joined: Tue Nov 30, 2004 5:43 pm

Script calls an external linux prog..

Post by renders »

Hi Alex.. The script I am using is a shell script that calls a linux joystick button test program that comes with the joystick daemon joyd. Not very useful for windows.

Ideally, this monitor would work like this:
A standalone prog that monitors the joystick buttons and sends an async message to HostMonitor, sort of like an SNMP trap. Hostmonitor responds accordingly.
One could also actively probe the joystick monitor prog to update the status..

Any suggestions?

Thanks
Rob
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Hi Alex.. The script I am using is a shell script that calls a linux joystick button test program that comes with the joystick daemon joyd. Not very useful for windows.
HostMonitor can do the same. It can execute shell script on Linux system using Remote Monitoring Agent for Linux.
http://www.ks-soft.net/hostmon.eng/rma-unix/index.htm

Or you moved joystick to Windows system? I found VB sample project "Read Joystick Inputs" on microsoft.com: http://support.microsoft.com/isapi/goft ... ystick.exe
Hope it will be useful

Regards
Alex
Post Reply