nagwin 1.3.0 does not report on localhost

8 posts / 0 new
Last post
mickey.lm
Offline
Last seen: 8 years 11 months ago
Joined: 29.10.2012 - 17:14
nagwin 1.3.0 does not report on localhost

Hello all,

after installing the 1.3.0-free installer package and verifying that all 4 services are running, there is no service status reported, and the host status is still pendig.

The nagios-stdout.log says: Warning: The check of host 'localhost' looks like it was orphaned (results never came back)....

I don't know what to do to get nagios work (on WinXP SP3 32bit)

Thanks a lot for help.

itefix
Offline
Last seen: 23 hours 38 min ago
Joined: 01.05.2008 - 21:33
Do you use a localized

Do you use a localized version of Windows ? check_winping tool which is used to check host availability is based on English version of ping.exe.

mickey.lm
Offline
Last seen: 8 years 11 months ago
Joined: 29.10.2012 - 17:14
Hello, yes, I am using a

Hello,

yes, I am using a German Windows version, but all the other checks failed too. E. g. 'Application errors'
'System disk', 'Physical memory', 'Total Processes' ends in the same result.

I did not touch the localhost.cfg file, and was hoping this would work for me.

And I already reinstalled, removed the nagios application and users for 5 times. Nothing seems to work.

I have no idea how to fix this.

itefix
Offline
Last seen: 23 hours 38 min ago
Joined: 01.05.2008 - 21:33
It's normal that other checks

It's normal that other checks fail as well as host check itself is not functioning. I agree that this is somewhat inconvenient. I have now updated Nagwin free installer package with a new check_winping plugin resistant to localized Windows versions. You may consider to give it a try.

mickey.lm
Offline
Last seen: 8 years 11 months ago
Joined: 29.10.2012 - 17:14
Hello, many thanks for your

Hello,

many thanks for your help. I tried to download it from "Get It"-Button on this web site, I removed and reinstalled nagwin again, but unfortunately it has the same effect. Calling

"check_winping.exe -H 127.0.0.1 -w 3000.0,80% -c 5000.0,100% -p 5" from commandline gives a good result:

"WINPING OK - Round trip: 0 ms, Packet loss: 0%, packets: 5|'round trip'=0ms;3000
.0;5000.0; 'packet loss rate'=0%;80;100; packets=5;"

But this seems not to work with the monitoring tool :-(

Calling from command line:

C:\Programme\ICW\bin>nagios.exe -s "/etc/nagios/nagios.cfg"

produces this result:

Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL

Website: https://www.nagios.org/
Warning: Could not get group entry for 'Users'
Warning: Could not set effective GID=-1
Warning: Could not get passwd entry for 'SvcNagwin'
Warning: Possibly root user failed dropping privileges with initgroups()
Failed to drop privileges.  Aborting.***> One or more problems was encountered w
hile reading configuration data...

Greetings, Mike.

 

itefix
Offline
Last seen: 23 hours 38 min ago
Joined: 01.05.2008 - 21:33
I have no idea why this

I have no idea why this happens, but your installation couldn't create group file. Try following:

  • open a bash prompt (bin\bash -i)
  • run "mkgroup >> /etc/group"
  • Restart Nagwin services
mickey.lm
Offline
Last seen: 8 years 11 months ago
Joined: 29.10.2012 - 17:14
Hi, I did so, created a group

Hi, I did so, created a group and a passwd file with actual content. Afterwards the test for the nagios.cfg with -v param ends in the same result. Starting the DOS-box with user nagiosadmin and executing the test for nagios.cfg with -v succeeds. The next step was to use another computer to install Nagwin... and it worked directly. I suspect the remote access software "LogMeIn" as the cause of the error in the execution of Nagwin.
Best regards, Mike.

itefix
Offline
Last seen: 23 hours 38 min ago
Joined: 01.05.2008 - 21:33
Check Cygwin FAQ 4.42 about

Check Cygwin FAQ 4.42 about the issue. Some software don't simply play well.