Search found 10 matches

by mscf
Wed Apr 22, 2015 10:36 am
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

Re: NRPE - Launch BAT as current user

Although, oddly enough, that still doesn't work. It launches the process under the correct username, but the user can't see the program. And if you uncheck "Show processes from all users" it hides it, which indicates its not running in the same login session.
by mscf
Wed Apr 22, 2015 10:31 am
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

Re: NRPE - Launch BAT as current user

Disregard that. I forgot to change my BAT file back from using the Runas command. That was just feedback from the BAT file.
by mscf
Wed Apr 22, 2015 9:53 am
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

Re: NRPE - Launch BAT as current user

Sorry for the delayed response, I've been driving. Anyways, I tried running the service as the user, but now when I issue check_nrpe commands it seems to want a password. I'm not sure how to pass it one. When I try the check_nrpe command from the CLI, this is what I get: Enter the password for usern...
by mscf
Mon Apr 20, 2015 4:50 pm
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

Re: NRPE - Launch BAT as current user

That is unfortunate. Given that the users don't know the password (these are kiosk machines), do you happen to know of a way to launch without prompting for passwords? I thought I could do it with @echo, but I haven't figured out a way to do that yet.
by mscf
Mon Apr 20, 2015 4:29 pm
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

Re: NRPE - Launch BAT as current user

I didn't think about using the BAT file to control the runas. I was locked into looking at nrpe. Anyways, that does work, but pops up asking for a password. Aside from an @echo statement that contains the password, do you happen to know of a way to just pick up the current user profile?
by mscf
Mon Apr 20, 2015 4:11 pm
Forum: Open Source Nagios Projects
Topic: NRPE - Launch BAT as current user
Replies: 9
Views: 2772

NRPE - Launch BAT as current user

I'm working on setting up NRPE to re-launch a particular program when it goes offline for whatever reason. The remote machines are Windows 7 boxes. I thought I had it, it was working when i used "nscp test" to monitor things. But then when I tried it with nscp running as a service, it ran ...
by mscf
Thu Feb 19, 2015 10:44 pm
Forum: Open Source Nagios Projects
Topic: Check_MK - Livestatus not loading in Nagios
Replies: 6
Views: 5069

Re: Check_MK - Livestatus not loading in Nagios

What is the nagios version that you are currently running? I tried to respond to the second part of your question earlier, but I guess since I'm new it still hasn't passed the moderators. None the less, the version is 4.0.8 And one other wrinkle. Since I've started working on this, I haven't been w...
by mscf
Thu Feb 19, 2015 10:40 pm
Forum: Open Source Nagios Projects
Topic: Check_MK - Livestatus not loading in Nagios
Replies: 6
Views: 5069

Re: Check_MK - Livestatus not loading in Nagios

Sorry about the delay, just got a chance to grab the cfg file. You can view it here: http://pastebin.com/BcjHbJUA
by mscf
Thu Feb 19, 2015 5:55 pm
Forum: Open Source Nagios Projects
Topic: Check_MK - Livestatus not loading in Nagios
Replies: 6
Views: 5069

Re: Check_MK - Livestatus not loading in Nagios

Yes, that path is correct. I can see the file there.

When I enter location livestatus.o, nothing happens.
by mscf
Thu Feb 19, 2015 2:56 pm
Forum: Open Source Nagios Projects
Topic: Check_MK - Livestatus not loading in Nagios
Replies: 6
Views: 5069

Check_MK - Livestatus not loading in Nagios

So, I have installed Nagios 4 (its working just fine) and I'm looking at setting up Thunk. So before that, i'm working on getting Livestatus working. I went through the install (just did the full check_mk install) and it seems to be working. I can run cmk command line queries. But when I load nagios...