cancel
Showing results for 
Search instead for 
Did you mean: 

Nagios and SapGui

former_member586436
Discoverer
0 Kudos

Hello All,

I have a sapgui 7.10 (on windows 2000 server) session that always must be connected and ready, because it does

some operations (scheduling some sapshcut.exe entries).

When for some reason the session disconnects, there is a window with a message "session is disconnected etc etc etc".

We use nagios for monitoring servers and services and process in our network.

The question is : how can i monitor, in nagios, that the sapgui session is running, and normally connected without errors? Is possible to intercept error messages?

I noticed that, in windows processes, there is always the saplogon.exe process active. And it stays active even i close the sapgui ...

Any suggestion ?

Thanks in advance ...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I really hope that no important operations are 'scheduled' this way. If you need to schedule reports, please use sm36 for this.

I'm not sure if you can use nagios for your purpose. One chance would be to use a special user in this sapgui-session and check if this user is connected, but i don't know how to do this. What comes to my mind is to check the syslog, there should be an entry when a user gets disconnected due to timeout.

If it's possible to set up jobs, you can easily monitor these jobs in rz20 and so it's also possible to monitor them in nagios.

Saplogon.exe is visible as an active task in windows as long as a gui or the saplogon itself is running.

former_member586436
Discoverer
0 Kudos

Well... "important" operations are scheduled in this way...

I cannot easily schedule with sm36, for background elaboration, because it needs a local directory for idoc import.

Anyway, this sapgui session use a special user, yes... is there a way for checking this ?

I will also try to follow your suggestion to check the syslog. But first of all i must learn well how the nagios sap plugin work.

Thanks for the help, very kind.

Regards

Former Member
0 Kudos

As far as i know, nagios can read log-files. But i remember that the syslog is not a 'human readable textfile', so this option is maybe none.

What do you mean with 'local directory'? Local = on local workstation? Any possibility to store the data on the server or at least somewhere, where the server can read them so you can plan a job for thaht?

A former colleague is developing a sap-monitoring agent for nagios and he told me that the nagios forums are also helpful. May be you have more luck there.

Regards,

ulf