Search found 21 matches

by jwestlake
Fri Dec 21, 2012 9:47 am
Forum: Nagios XI
Topic: "Bad interpreter" error on Red Hat installation
Replies: 4
Views: 1674

Re: "Bad interpreter" error on Red Hat installation

Ah, that looks like it's the reason... /etc/fstab shows /tmp has noexec. I guess it'd be ok to copy to and install from another directory?
by jwestlake
Thu Dec 20, 2012 3:31 pm
Forum: Nagios XI
Topic: "Bad interpreter" error on Red Hat installation
Replies: 4
Views: 1674

"Bad interpreter" error on Red Hat installation

Hey there, I'm trying to get Nagios agent installed on RHEL 5.5 following the instructions here http://assets.nagios.com/downloads/nagiosxi/docs/Installing_The_XI_Linux_Agent.pdf . I get as far as "./fullinstall" when I get this error: [root@server linux-nrpe-agent]# ./fullinstall bash: ./...
by jwestlake
Fri Dec 14, 2012 9:07 am
Forum: Nagios XI
Topic: Ubuntu 10.04.4 LTS agent problems: Unable to read output
Replies: 10
Views: 3355

Re: Ubuntu 10.04.4 LTS agent problems: Unable to read output

OK, I added this down at the bottom in the sudoers file on the host with visudo (matched what was on the XI server): User_alias NAGIOSXI=nagios NAGIOSXI ALL = NOPASSWD:/usr/lib/nagios/plugins/check_init_service * Seems to have done the trick! This Ubuntu server is now reporting everything properly. ...
by jwestlake
Wed Dec 12, 2012 2:50 pm
Forum: Nagios XI
Topic: Can't upload MIB
Replies: 6
Views: 2063

Re: Can't upload MIB

I'd like to throw in a "me too" on this one... I'm trying to add an APC .mib file for my UPS and PDU units. My permissions show a little different than the previous poster: [root@nagios snmp]# ls -al /usr/share/snmp total 16 drwxr-xr-x. 4 root root 4096 Nov 14 12:40 . drwxr-xr-x. 119 root ...
by jwestlake
Wed Dec 12, 2012 1:12 pm
Forum: Nagios XI
Topic: Ubuntu 10.04.4 LTS agent problems: Unable to read output
Replies: 10
Views: 3355

Re: Ubuntu 10.04.4 LTS agent problems: Unable to read output

Sorry... it still says "Unable to read output", but it went from "critical" red to "warning" yellow in the status. Same error though.
by jwestlake
Wed Dec 12, 2012 1:00 pm
Forum: Nagios XI
Topic: Ubuntu 10.04.4 LTS agent problems: Unable to read output
Replies: 10
Views: 3355

Re: Ubuntu 10.04.4 LTS agent problems: Unable to read output

Well, now it went from "critical" status on "Unable to read output" to only "warning" status... progress! :-) Running it directly from the command line: sudo /usr/lib/nagios/plugins/check_init_service ssh ssh start/running, process 787 works fine, so the problem doesn't...
by jwestlake
Wed Dec 12, 2012 12:10 pm
Forum: Nagios XI
Topic: Problems with Mac OS X Agent
Replies: 16
Views: 6359

Re: Problems with Mac OS X Agent

A-ha! Running from the command line gave an error: /bin/bash^M: bad interpreter: No such file or directory Looks like it was saved w/ Windows line breaks. Some de-wonkification (it's a technical term lol) in vi and all seems to be well: OK: Memory Usage - 20.35% RAM, 6.25% Swap | phyUsed=20.35%;;;0;...
by jwestlake
Wed Dec 12, 2012 11:33 am
Forum: Nagios XI
Topic: Ubuntu 10.04.4 LTS agent problems: Unable to read output
Replies: 10
Views: 3355

Re: Ubuntu 10.04.4 LTS agent problems: Unable to read output

common.cfg: ### GENERIC SERVICES ### command[check_init_service]=/usr/lib/nagios/plugins/check_init_service $ARG1$ command[check_services]=/usr/lib/nagios/plugins/check_services -p $ARG1$ ### MISC SYSTEM METRICS ### #command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_u...
by jwestlake
Wed Dec 12, 2012 11:01 am
Forum: Nagios XI
Topic: Problems with Mac OS X Agent
Replies: 16
Views: 6359

Re: Problems with Mac OS X Agent

Hey there,

Just got a chance to get back in there and look around. I replaced the check_osx_mem file with the new one you provided and now I get "Unable to read output" and it tells me the service is flapping. I killed nrpe and relaunched it just to be safe.

Thanks!
by jwestlake
Wed Dec 12, 2012 10:58 am
Forum: Nagios XI
Topic: Ubuntu 10.04.4 LTS agent problems: Unable to read output
Replies: 10
Views: 3355

Re: Ubuntu 10.04.4 LTS agent problems: Unable to read output

Sure, on the check_nrpe:

-rwxrwxr-x. 1 nagios nagios 75444 Nov 14 12:43 /usr/local/nagios/libexec/check_nrpe

Yes, that's correct, the nrpe agent installed with instructions at http://assets.nagios.com/downloads/nagi ... _Agent.pdf.

Thanks!