Search found 10 matches

by puppynut5
Thu Jun 13, 2013 5:01 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

GOT IT!!!! NRPE wasn't compiled with --enable-command-args

Thank you so much for your help though. i honestly wouldn't have gotten it without your help.

My issue is definitely resolved now. Thanks again...
by puppynut5
Thu Jun 13, 2013 4:52 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

Could it be because the only command I have setup as check_user_procs is with nrpe? Do I need to setup a command for check_user_procs that does NOT have the NRPE part in there? Or is that not needed.
by puppynut5
Thu Jun 13, 2013 4:49 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

I'm now getting this... CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. /var/log/messages on remote host contained this. Jun 13 14:40:16 nagiostest xinetd[1467]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in. Jun ...
by puppynut5
Thu Jun 13, 2013 4:38 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

Oh wait... Never mind. I see what you did. In the command_line it still is check_procs. But once that's done the command always needs to be called as check_user_procs. Sorry :)
by puppynut5
Thu Jun 13, 2013 4:37 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

Thank you so much... Trying it now. One thing though, in the command_line portion I called it as check_procs because I'm still using the same check file (check_procs) as before I'm just using different options on it than is currently defined under the actual check_local_procs one. But thanks again.....
by puppynut5
Thu Jun 13, 2013 12:09 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

Ok, so I've setup a new host where I compiled everything manually like I usually do, so I'm quite sure it's an issue with how I setup the check. Here is my complete remote host nrpe.cfg file that I've setup as well as my complete host setup file. If you could let me know if somethings out of order t...
by puppynut5
Wed Jun 12, 2013 3:52 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

I'll post that all soon... But is there any other way to use Nagios to check the processes without it having to be run locally? I looked through some other plugins but didn't really see anything that mentioned it. I talked to the engineers & since there is only supposed to be one resque worker p...
by puppynut5
Wed Jun 12, 2013 1:09 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

It refuses to work when run through NRPE. It still gives the same error. I copied the script check_procs to /tmp in mastervm1 & ran it there with the same args. -bash-4.1# ./check_procs -H localhost -w 1: -a resque-1.24.1 -u sas ./check_procs: invalid option -- 'H' Usage: check_procs -w <range> ...
by puppynut5
Tue Jun 11, 2013 3:40 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

Re: check_procs says user doesn't exist. Works manually

I did make the change on one of the hosts. I found that our chef doesn't automatically push changes back. So I have to run chef-client manually to override it. So I set dont_blame_nrpe=1 And forced a recheck of the command. The error I was getting before setting it was. [1370980932] SERVICE ALERT: m...
by puppynut5
Tue Jun 11, 2013 3:22 pm
Forum: Open Source Nagios Projects
Topic: *SOLVED*check_procs says user doesn't exist. Works manually
Replies: 17
Views: 10624

*SOLVED*check_procs says user doesn't exist. Works manually

Hello, I have an issue where Nagios is returning user does not exist on a command such as this... define service{ use local-service host_name mastervm1 service_description check_user_procs check_command check_user_procs!1:!resque-1.24.1!sas } With command configured # Check Procs User define command...