Page 1 of 1
unable to get output in GUI
Posted: Thu Mar 03, 2022 2:35 am
by tchandra
Team,
I got request like by using Nagios XI to monitor the shared path in windows server , if any .pdf or .html files arrived in last 24 hrs.
i configured the alerts as requested and We are getting output as expected when checking from CLI, but showing error in GUI.
Nagios XI CLI o/p :
Nagios Xi GUI o/p :
Can someone please help here to resolve this issue.
Re: unable to get output in GUI
Posted: Fri Mar 04, 2022 3:38 pm
by gsmith
Hi,
Please send me a System Profile so I can take a look at that service.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.
Thanks
Re: unable to get output in GUI
Posted: Tue Mar 08, 2022 1:32 am
by tchandra
Hi,
I have sent PM with system profile.
And we have other issue that we have configured an alert for file check ( file arrive in destination path around 3 to 3:30 PM). we have scheduled nagios check at 3:30 to 3:40 PM. nagios should trigger critical if no file found .so we have kept critical as 0. But nagios unable to check the path and it still showing critical even after file available in path. Below are the command views and attached screenshot from client server.
Re: unable to get output in GUI
Posted: Tue Mar 08, 2022 11:27 am
by gsmith
Hi,
Before I dig into this I'd like to know is using check_nrpe a requirement, or
would you be able to use check_ncpa?
NCPA is the newer, preferred method rather than NRPE/NSClient++
Thanks!
Re: unable to get output in GUI
Posted: Tue Mar 08, 2022 8:32 pm
by tchandra
we are using check_nrpe and i have shared the commands as well.
Re: unable to get output in GUI
Posted: Mon Mar 21, 2022 12:38 pm
by gsmith
Hi
On the Windows machine, edit the nsclient.ini and set:
log=debug
Then run the check from the gui on the Nagios server. Please send
me the log file from the Windows machine after running the check.
Also, on the Nagios server run this from the command line:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -2
(where xxx.xxx.xxx.xxx is the IP address of the Windows machine)
and let me know what the result is.
Thank you