NSClient++ Help (#1) - Can nsclient launch a GUI? (#248) - Message List

Can nsclient launch a GUI?

We have been using nagios/nsclient to monitor our network for a while. I have to implement a fingerprint reader under windows and want to be able to request a fingerprint remotely. For testing I have a port listener app that simply launches the fingerprint gui right now; which works.

But, since the machines we want to deploy on already have nsclient, I tried to add the fingerprint gui as an external launch, since it sends back up to a few thousand bytes (base64). I see the program launch in the task manager, but the gui doesn't appear.

Is that on purpose? Is there a way to force nsclient launched apps to show their gui?

Thanks! Mike

  • Message #748

    yes, external scripts are run "silently in the background" (so as not to annoy users :)

    so this is a "feature", I suppose it could be changed, and 0.4.x will/might have such features, the settings "system" in0.3.x is "flat" and thus not ideally suited to adding "lots" of options.

    If you want I could all a global flag, but know hat there are other issues, particularily on XP and beyond where you have several RDP sessions that "can be active" (especially vista runs application in session 1 and service in session 0). So it may not be just "a flag" for you.

    Michael Medin

    • Message #749

      Thanks for the quick reply!

      I suppose in the end I would probably want it as a flag per script (just in case the global flag would have some unexpected result on one of the other commands that is working fine right now).

      If it is "real easy" (ha ha) to add a global flag I could try it just to see if any of the other scripts does something ugly.

      But. unless it is "real easy", I will probably just clean up and finish my socket listener code.

      • Message #750

        global flag would be fairly easy (not sure I can do it for 0.3.4 since I dont want to break something, but I could do a "nightly build" for you that does it afterwards.

        Drawback of the "global flag" which would be pretty simple, is that *all* scripts will popup a little window when they run... and annoy your user :)

        MickeM

        • Message #751

          Sounds like something to add to the "feature to think about" list then.

          Our nsclient setup "works" so I don't watch to futsz it up.

          I just found and think I'll go with XYNTService as another service program that can launch my simple win32 socket listener (which is not a service). That way I don't have to convert my socket program to a service and it runs hidden in the background. And when I connect to the socket I get my fingerprint gui just fine.

          "someday" it might be nice to do all that from nsclient instead of adding two other programs. But I'm up against a deadline (Monday). I will have some other updates to this program in a couple weeks so I'll check back and see if you've decided to do add the feature or not.

          Thanks again! I like nsclient for what it does, I was just trying to push the envelope. Mike

Subscriptions