Werner, I can't say that I'm an expert at any of these methods, but there are a few possibilities you might explore.
- WebInject. It allows you to write these kind of request/response scripts that walk through interaction with a website, including a login. There's even some stuff about using it directly with Nagios on their site. - Perl and the WWW::Mechanize module. This allows you to do something similar to WebInject by writing your own Perl script that interacts with a website including "pressing" buttons, etc. I would also recommend Ton Voon's spiffy Nagios::Plugin module to handle the Nagios plugin duties. In either case, you would probably want to create some dummy/test user to attempt the login with. Mark -----Original Message----- From: Werner Flamme [mailto:[email protected]] Sent: Wednesday, February 23, 2011 8:15 AM To: [email protected] Subject: [Nagios-users] check if SAP login is possible -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, last week I had a new problem - all Nagios checks of the SAP systems succeeded, but no one was able to login or to work inside SAP. The users got a timeout message, but remained logged in. The usual checks via check_sap_cons still delivered their standard output. How can I check if a SAP login is possible or not? As a first step, I check the https:// login screen (with check_http), but how can I check that a user may log in after seeing that screen? BTW, the reason was a shared filesystem full to the brim... Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1lCFQACgkQk33Krq8b42MZlgCfSoyg7yByXygupxaM7C7wFxqB TfkAnRMQiAvorypMZfkAo9jbzTuH+zcc =ZMmj -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
