This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Mar 28, 2018 8:16 am
Does the config actually have this line?
If so, does this computer know how to resolve
nagiosxi ?
morabanc
Posts: 199 Joined: Tue Jul 10, 2012 8:14 am
Post
by morabanc » Wed Mar 28, 2018 10:26 am
This is my config:
[settings]
CONFIG_VERSION=2.6
CONFIG_OS=Windows (64-bit)
CONFIG_NAME=Windows_64b_Group
URL=http://192.168.1.1/nrdp/
TOKEN=05lpuur3xd2o
PLUGIN_DIR=C:\Program Files\Nagios\NRDS_Win\plugins
SEND_NRDP=
TMPDIR=
COMMAND_PREFIX=
LOG_FILE=C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log
IGNORE_SSL_CERTIFICATE_ERRORS=1
UPDATE_CONFIG=1
UPDATE_PLUGINS=1
[services]
command[__HOST__] = $PLUGIN_DIR$\check_winping.exe -H 127.0.0.1 --warning 200,40% --critical 400,80%
command[nrpe_winprocess] = $PLUGIN_DIR$\check_winprocess.exe --warning 40 --critical 50
command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90
command[nrpe_diskspace] = $PLUGIN_DIR$\check_pdm.exe --disk --drive C: -w 97.5 -c 99.5
command[nrpe_eventlog] = $PLUGIN_DIR$\eventlog_nrpe_nt.exe -m 7200
command[nrpe_memload] = $PLUGIN_DIR$\check_pdm.exe --memory -w 90 -c 99
command[nrpe_physical_mem] = $PLUGIN_DIR$\check_pdm.exe --memory pagefile -w 80 -c 95
command[nrpe_service] = $PLUGIN_DIR$\service_nrpe_nt.exe "DNS Client"
command[nrpe_hostname] = hostname
Now I did a test, with a wireshark I check that my computer don't generate traffic but in the "taskschd.msc" I see that it executes every 5 minutes.
Also I try to browse the url "
http://192.168.1.1/nrdp/ " and then I see traffic in Wireshark. This is what I get (see attach pic).
It seems that my task/job don't send traffic to Nagios XI.
Thanks a lot
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Mar 28, 2018 10:41 am
Can you show the results of the Historial tab in taskschd.msc
Also, is the the EXACT config that is running fine on another computer? And you are sure nothing is blocking system from running these commands or accessing the network?
morabanc
Posts: 199 Joined: Tue Jul 10, 2012 8:14 am
Post
by morabanc » Thu Mar 29, 2018 3:12 am
Here you are.
I don't know if it's the correct config, I supposed yes, but computer v001p001 it's the only I don't get error messages in the taskschd.msc
We check many days ago the firewall and other things and all are permit, what can I do to test the connection or the NRDS server.
Thanks
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Thu Mar 29, 2018 8:59 am
morabanc wrote: We check many days ago the firewall and other things and all are permit, what can I do to test the connection or the NRDS server.
Can you reach this from a browser on the v001p001 server?
http://192.168.1.1/nrdp/
Otherwise I am at a loss what could be the error other than a firewall or proxy blocking the request
morabanc
Posts: 199 Joined: Tue Jul 10, 2012 8:14 am
Post
by morabanc » Tue Apr 03, 2018 4:51 am
Hi scottwilkerson,
Yes sure, I'm able to reach it.
It's strange, the request goes from v001p001 to nagiosXI through TCP 80 right ?
I mean, if i can open (via browser) NagiosXI (to see hosts and services) with port 80 it mean that no proxy or no firewall block the connection right ?
Thanks for all
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 03, 2018 8:37 am
morabanc wrote:
I mean, if i can open (via browser) NagiosXI (to see hosts and services) with port 80 it mean that no proxy or no firewall block the connection right ?
Not exactly, a browser could be configured to use a proxy server
morabanc
Posts: 199 Joined: Tue Jul 10, 2012 8:14 am
Post
by morabanc » Tue Apr 03, 2018 10:45 am
I did a telnet and works fine so this mean that no firewall deny the connection.
I don't know what more I can do :/
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 03, 2018 11:19 am
I read back through the thread and the config you are showing doesn't match at all the configuration in the log file you previously sent
Can you post the "C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log" from the Windows machine again on the forum?
these configs are completely different including different tokens, IP addresses and everything
morabanc
Posts: 199 Joined: Tue Jul 10, 2012 8:14 am
Post
by morabanc » Wed Apr 04, 2018 1:50 am
Here you are.
I changed this paramethers to test, the correct IP is 192.168.1.1 and token 05lpuur3xd2o.
Thanks
You do not have the required permissions to view the files attached to this post.