nrpe issue

Toto Capuccino shoktai at gmail.com
Thu Feb 9 16:11:14 CET 2006


well, the strange thing is that on that host i monitor the memory and some
processes already with nsclient and it works fine it just fails for the
check_disk and more surprising it fails also with nrpe. So i dont think that
changing the port will help in anyway.

Thanks

2006/2/9, Kai Reese <foranor at gmail.com>:
>
> You might want to check the port nrpe (or nsclient for that matter) use.
> For nsclient, it's set in the registry, I seem to remember
> HKLM->Software->nsclient
>
> I solved my connection issues by setting that to 5666 instead of the
> default whatever it was.
>
> Kai
>
> On 2/9/06, Toto Capuccino <shoktai at gmail.com> wrote:
> > Hi all,
> >
> > i have installed nrpe service on remote host a win2003 server, the
> service
> > just runs fine and i want to start monitorinfg free space on servers.
> > I have downloaded chec_disk on nagiosexchange and defined the services
> in
> > nrpe.cfg as follows:
> >
> > command[check_disk_c]=cscript.exe //NoLogo //T:10
> c:\nrpe\bin\check_disk.wsf
> > /drive:"c:\" /w:300 /c:100
> > command[check_disk_d]=cscript.exe //NoLogo //T:10
> c:\nrpe\bin\check_disk.wsf
> > /drive:"d:\" /w:300 /c:100
> >
> > when i run the check_nrpe on the nagios server from command line all is
> good
> > :
> >
> > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c
> > Drive C:\  - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%)
> >
> >  ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d
> > Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB
> > (55%)
> >
> > I did define nrpe in checkcommands.cfg as follows:
> > define command{
> >         command_name    check_nrpe
> >         command_line       $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
> >                         }
> >
> > and run it this way in services.cfg
> > check_command                   check_nrpe!check_disk_c
> >
> > but when i run it from Nagios, all i get is a CRITICAL state with ouput
> > 'Connection refused by host'. Actually i started working with nrpe
> because i
> > had the same problem with nsclient. Besides the log are empty concerning
> > this critical state. All checks on disks are refused.
> >
> > Any ideas.
> >
> > Cheers
> > --
> > Le bon sens est la chose du monde la mieux partagée.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



--
Le bon sens est la chose du monde la mieux partagée.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060209/85d20926/attachment.html>


More information about the Users mailing list