Search found 19 matches

by jasgot
Tue Jun 20, 2017 1:02 pm
Forum: Open Source Nagios Projects
Topic: NRPE work from command line but not from windows.cfg
Replies: 3
Views: 1784

Re: NRPE work from command line but not from windows.cfg

I added the "-a" but it did not help, but in the end it was required. After a LOT of more reading and searching, I updated to the newest nsclient++ and it resolved the issue for me. So I had two issues. You helped by having me add the "-a" and I also updated the client. Thank you...
by jasgot
Mon Jun 19, 2017 2:50 pm
Forum: Open Source Nagios Projects
Topic: NRPE work from command line but not from windows.cfg
Replies: 3
Views: 1784

NRPE work from command line but not from windows.cfg

I hope this is easy. I've been staring at it so long I am sure it's simple and I just don't see it. This command works from the command line of my nagios core server: ./check_nrpe -H xxx.xxx.xxx.245 -t 30 -c CheckFiles -a path='C:\' pattern=*.MOLE02 'filter=size gt 0b' 'master-syntax={%total% Files ...
by jasgot
Thu Aug 20, 2015 12:58 pm
Forum: Open Source Nagios Projects
Topic: SOLVED Script works from CLI but not from within nagios
Replies: 9
Views: 5056

Re: Script works from CLI but not from within nagios

Just found this in a log file: Aug 20 13:51:22 sabrina sudo: nagios : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/??? ; USER=root ; COMMAND=/usr/bin/du -sk /mnt/backup Aug 20 13:54:22 sabrina sudo: nagios : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/??? ; USER=root ;...
by jasgot
Thu Aug 20, 2015 11:30 am
Forum: Open Source Nagios Projects
Topic: SOLVED Script works from CLI but not from within nagios
Replies: 9
Views: 5056

Re: Script works from CLI but not from within nagios

Hi Jason, I just set all of this up using your setup.. CentOS 7 / Core 4.1.0rc2 What are your permissions on the check_dirsize script? Is your apache user part of the nagios group? I was unable to replicate any issues whatsoever with this. edit: Also, don't know if the comments here are going to be...
by jasgot
Thu Aug 20, 2015 10:05 am
Forum: Open Source Nagios Projects
Topic: SOLVED Script works from CLI but not from within nagios
Replies: 9
Views: 5056

SOLVED Script works from CLI but not from within nagios

check_dirsize11.sh Script works from CLI as nagios user but not from within nagios I have the check_dirsize11.sh script. It works from the command line as root and also as nagios. However, from within nagios the script is executed, but nagios shows an error in the gui. Here is my service definition ...
by jasgot
Fri Apr 24, 2015 10:38 am
Forum: Open Source Nagios Projects
Topic: Nagios UI reports server Up - False positive
Replies: 15
Views: 5388

Re: Nagios UI reports server Up - False positive

I see this all the time. In my case, the service, that does the check and creates the HTML UI I see, has stopped. I perform a "service nagios restart" and all is well.
by jasgot
Wed Feb 18, 2015 8:25 am
Forum: Open Source Nagios Projects
Topic: Nagios web interface not available on Cpanel server
Replies: 15
Views: 11794

Re: Nagios web interface not available on Cpanel server

After re-adding the vhost info for the password auth, everything is now working. Thank you to each of you for giving thoughts and ideas that ultimately led to a solutions.

Cheers!

Jason