I'm trying to setup NagiosXI to monitor our Internal Windows Server but unfortunately its showing error message " connect to address 172.25.30.41 and port 12489: Network is unreachable".
I have checked all configurations at both sides(NagiosXI & NSClient++ on windows server),It looks all good.Could you please help out why this error is coming and how we can rectify this issue.
Unable to connect to Windows Server Using NagiosXI
Re: Unable to connect to Windows Server Using NagiosXI
From the Nagios machine, can you ping 172.25.30.41? The Nagios machine will still need a route to your internal network.
Former Nagios Employee
Re: Unable to connect to Windows Server Using NagiosXI
When I try to Ping 172.25.30.41, it saying Newtwork unreachable. I checked NSClient config file as well and there is entry for "Allowed host=192.168.222.1(Nagiosxi IP)" but still I don't understand why this error is displaying.
Also Is there any way to find running logs from NSClinet agent, Could you please send that info as well if there is any way to see them?
Also Is there any way to find running logs from NSClinet agent, Could you please send that info as well if there is any way to see them?
Re: Unable to connect to Windows Server Using NagiosXI
If you cannot ping your Windows server from the Nagios machine, then this is most likely a network issue. Is there a firewall between these devices? If so, check to see if it has logged any blocked/dropped requests from Nagios XI.
From your Nagios XI server can you ping anything on 172.25.30.xx?
To answer your other question, check the nsclient.log on the windows server. Default path is C:\Program Files\NSClient++
From your Nagios XI server can you ping anything on 172.25.30.xx?
To answer your other question, check the nsclient.log on the windows server. Default path is C:\Program Files\NSClient++
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Unable to connect to Windows Server Using NagiosXI
I turned off firewall on devices, So there is nothing to block port or device.
Here is the my NSClient++ log file, I don't understand what it is and where the problem.
2016-01-31 00:20:34: error:D:\source\nscp\modules\NRPEServer\NRPEServer.cpp:132: CA not found: C:\Program Files\NSClient++/security/ca.pem (generating a default CA)
Please help us with options what we have to rectify this probelm.
Here is the my NSClient++ log file, I don't understand what it is and where the problem.
2016-01-31 00:20:34: error:D:\source\nscp\modules\NRPEServer\NRPEServer.cpp:132: CA not found: C:\Program Files\NSClient++/security/ca.pem (generating a default CA)
Please help us with options what we have to rectify this probelm.
Re: Unable to connect to Windows Server Using NagiosXI
That should help.rahul5028 wrote:I turned off firewall on devices, So there is nothing to block port or device.
Can you now ping this server?rahul5028 wrote:Please help us with options what we have to rectify this probelm.
Former Nagios Employee.
me.
me.
Re: Unable to connect to Windows Server Using NagiosXI
Also, what is the output of ifconfig from your Nagios machine?
Former Nagios Employee
Re: Unable to connect to Windows Server Using NagiosXI
Here is the output of Ifconfig from Nagios Machine:
[osgadmin@localhost nagiosxi]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0c:29:3d:5a:32 txqueuelen 1000 (Ethernet)
RX packets 30 bytes 3705 (3.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 5998 bytes 3084865 (2.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5998 bytes 3084865 (2.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[osgadmin@localhost nagiosxi]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0c:29:3d:5a:32 txqueuelen 1000 (Ethernet)
RX packets 30 bytes 3705 (3.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 5998 bytes 3084865 (2.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5998 bytes 3084865 (2.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Re: Unable to connect to Windows Server Using NagiosXI
Thanks for the ifconfig output --
Please clarify, when you say
What does a Wireshark or tcpdump (taken while ping fails) tell you?
Please clarify, when you say
do you mean you disabled the Windows FW on the client? What is in the path between Nagios XI and the Client? Did you disable a Firewall there as well?I turned off firewall on devices
What does a Wireshark or tcpdump (taken while ping fails) tell you?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Unable to connect to Windows Server Using NagiosXI
I turned off firewall on windows server where NSClient is running and my nagiosXI running on VMWare which is set up on my machine here also I turned off firewall.
Not sure about wireshark or tcpudp.
Not sure about wireshark or tcpudp.