Nagios core and Nagios Network Analyzer problem
Nagios core and Nagios Network Analyzer problem
Hi
Trying to get core and Network analyzer work but when I try connect from Analyzer via NRDP to Core it say "URL does not appear to be an NRDP server: http://xxx.xxx.xxx.xxx/nrdp"
When I put in the wrong NRDP Token it say it is the wrong token so it seems that something is workin but not the all the way.
Is there something I have forgot to configure on the Core Server ?
Regards,
Joakim
Trying to get core and Network analyzer work but when I try connect from Analyzer via NRDP to Core it say "URL does not appear to be an NRDP server: http://xxx.xxx.xxx.xxx/nrdp"
When I put in the wrong NRDP Token it say it is the wrong token so it seems that something is workin but not the all the way.
Is there something I have forgot to configure on the Core Server ?
Regards,
Joakim
Re: Nagios core and Nagios Network Analyzer problem
Can you try to access that again and immediately after send us the last 50 or so lines form /var/log/httpd/error_log please?
Former Nagios employee
Re: Nagios core and Nagios Network Analyzer problem
Hi
Here is both the access.log & error.log.
What I can see the machine do not appear in the error log I can see it in the access log.
The machine where Network Analyzer is the one that ends with .5
Joakim
Here is both the access.log & error.log.
What I can see the machine do not appear in the error log I can see it in the access log.
The machine where Network Analyzer is the one that ends with .5
Joakim
- Attachments
-
- log.txt
- (3.6 KiB) Downloaded 285 times
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios core and Nagios Network Analyzer problem
Can you view the nrdp page in your normal browser and submit a passive check with the web form and correct token for an existing host and service?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Nagios core and Nagios Network Analyzer problem
I can view the nrdp page in the browser but it will not accept any check
Re: Nagios core and Nagios Network Analyzer problem
Can you post two things? The first is the actual XML of the check you are submitting in the browser, and the other is the response it gives you when you do submit.
Former Nagios employee
Re: Nagios core and Nagios Network Analyzer problem
Here is the output from the check.
It looks like it don't accept the token.
I have tried to change the token but have not been able to do so.
It looks like it don't accept the token.
I have tried to change the token but have not been able to do so.
- Attachments
-
- xml.txt
- (113 Bytes) Downloaded 288 times
Re: Nagios core and Nagios Network Analyzer problem
Can you please post the XML that you sent as I requested in my last post?
In addition, can you confirm that the token you are sending does not have any trailing spaces, missing characters, or incorrect characters? You can find the correct token in /usr/local/nrdp/server/config.inc.php as the first config option. And I am a bit confused when you say "I have tried to change the token but have not been able to do so." - do you mean you didn't know where the token is, or that when you did try to change it you were not allowed?
In addition, can you confirm that the token you are sending does not have any trailing spaces, missing characters, or incorrect characters? You can find the correct token in /usr/local/nrdp/server/config.inc.php as the first config option. And I am a bit confused when you say "I have tried to change the token but have not been able to do so." - do you mean you didn't know where the token is, or that when you did try to change it you were not allowed?
Former Nagios employee
Re: Nagios core and Nagios Network Analyzer problem
Regarding the token I might have used incorrect charachters so I tried to change it from !xxxxxx# to xxxxxx but when I try to connect with the new token it just say bad token.
I just edit the config.inc.php and then restarted the httpd.
The xml I sent was from the NRDP API Test page.
Token xxxxxx
Command DISABLE_HOST_NOTIFICATIONS;ABG-HO01-SE
I just edit the config.inc.php and then restarted the httpd.
The xml I sent was from the NRDP API Test page.
Token xxxxxx
Command DISABLE_HOST_NOTIFICATIONS;ABG-HO01-SE
Re: Nagios core and Nagios Network Analyzer problem
It almost sounds like you are filling in the token for the Command area and clicking the Check Data submit button. Can you fill in the token and take a screenshot of the page? Then indicate which button you are clicking. Be sure to censor any sensitive information.
Former Nagios employee