Handling Nagios Client Monitoring System: Difference between revisions
(Created page with 'http://monitor.neosys.com/nagios3 == How to handle a service error == # Nagios Service Info - get there via various routes eg from Service Problems - then click on the service na…') |
No edit summary |
||
Line 1: | Line 1: | ||
http://monitor.neosys.com/nagios3 | http://monitor.neosys.com/nagios3 | ||
= How to handle a service error = | |||
# Nagios Service Info - get there via various routes eg from Service Problems - then click on the service name (not the host name) | # Nagios Service Info - get there via various routes eg from Service Problems - then click on the service name (not the host name) | ||
# Service Commands, Acknowledge this service problem (only services with status Warning or Critical have this option) | # Service Commands, Acknowledge this service problem (only services with status Warning or Critical have this option) | ||
Line 8: | Line 9: | ||
The "Disable notifications" is not quite the same and shows as red on tactical summary screen. | The "Disable notifications" is not quite the same and shows as red on tactical summary screen. | ||
= Troubleshooting NAGIOS generally = | |||
==Resolving “CRITICAL – Socket timeout after 10 secs” error message on NAGIOS== | |||
===Error Message=== | |||
[[image:Vm3nagios.jpg]] | [[image:Vm3nagios.jpg]] | ||
===Problem=== | |||
NAGIOS is not updating services like CPU Load, Drive Space C:, Drive Save D:,Explorer, Memory Usage etc. | NAGIOS is not updating services like CPU Load, Drive Space C:, Drive Save D:,Explorer, Memory Usage etc. | ||
=== Solution === | |||
Open Windows Task Manager and kill any nscp.exe process. Then, restart NSClient++ from the desktop or by going to Start> Programs> NSClient++ | Open Windows Task Manager and kill any nscp.exe process. Then, restart NSClient++ from the desktop or by going to Start> Programs> NSClient++ | ||
== Resolving “NEOSYS has not checked in” error message== | |||
=== Error Message Explained === | |||
You notice a problem on NAGIOS indicating that '''''NEOSYS not checked in''' on a particular client server. This happens because NEOSYS is not updating NAGIOS. | You notice a problem on NAGIOS indicating that '''''NEOSYS not checked in''' on a particular client server. This happens because NEOSYS is not updating NAGIOS. | ||
=== Possible Causes & Solutions === | |||
==== The maintenance window is left open ==== | |||
Make sure the maintenance window has not been left open in the server. | Make sure the maintenance window has not been left open in the server. | ||
====The NEOSYS process is '''NOT''' running on the server==== | |||
Start the NEOSYS process and wait for 10 mins for NEOSYS to check into NAGIOS. | Start the NEOSYS process and wait for 10 mins for NEOSYS to check into NAGIOS. | ||
<BR> | <BR> | ||
====The NEOSYS process '''is''' running on the server but still cannot connect to NAGIOS==== | |||
NEOSYS connects to NAGIOS using http. NEOSYS automatically detects and uses any http proxy configuration configured in Internet Explorer. If the Internet Explorer in the server can reach the internet then NEOSYS should be able to update to NAGIOS via the same proxy. | NEOSYS connects to NAGIOS using http. NEOSYS automatically detects and uses any http proxy configuration configured in Internet Explorer. If the Internet Explorer in the server can reach the internet then NEOSYS should be able to update to NAGIOS via the same proxy. | ||
Line 125: | Line 126: | ||
#You can now login to zoneedit and update the ip address of the host. | #You can now login to zoneedit and update the ip address of the host. | ||
#Check Nagios. | #Check Nagios. | ||
== Nagios reports a hung process == | |||
===Possible Causes and Solutions=== | |||
Refer link http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Error_message:_.22Read_error_in_the_operating_system_file.22 | Refer link http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Error_message:_.22Read_error_in_the_operating_system_file.22 | ||
== Backup -> Impossible == | |||
===Possible Causes and Solutions=== | |||
If there is an error "Backup->Impossible" on Nagios check if the USB is properly inserted and schedule downtime to Nagios for 2hours. | If there is an error "Backup->Impossible" on Nagios check if the USB is properly inserted and schedule downtime to Nagios for 2hours. |
Revision as of 08:43, 13 February 2014
http://monitor.neosys.com/nagios3
How to handle a service error
- Nagios Service Info - get there via various routes eg from Service Problems - then click on the service name (not the host name)
- Service Commands, Acknowledge this service problem (only services with status Warning or Critical have this option)
- Enter a note - explaining to yourself and your co-workers explaining how the problem is being handled and when to follow up
Notifications will be automatically resumed once the service becomes OK again.
The "Disable notifications" is not quite the same and shows as red on tactical summary screen.
Troubleshooting NAGIOS generally
Resolving “CRITICAL – Socket timeout after 10 secs” error message on NAGIOS
Error Message
Problem
NAGIOS is not updating services like CPU Load, Drive Space C:, Drive Save D:,Explorer, Memory Usage etc.
Solution
Open Windows Task Manager and kill any nscp.exe process. Then, restart NSClient++ from the desktop or by going to Start> Programs> NSClient++
Resolving “NEOSYS has not checked in” error message
Error Message Explained
You notice a problem on NAGIOS indicating that NEOSYS not checked in on a particular client server. This happens because NEOSYS is not updating NAGIOS.
Possible Causes & Solutions
The maintenance window is left open
Make sure the maintenance window has not been left open in the server.
The NEOSYS process is NOT running on the server
Start the NEOSYS process and wait for 10 mins for NEOSYS to check into NAGIOS.
The NEOSYS process is running on the server but still cannot connect to NAGIOS
NEOSYS connects to NAGIOS using http. NEOSYS automatically detects and uses any http proxy configuration configured in Internet Explorer. If the Internet Explorer in the server can reach the internet then NEOSYS should be able to update to NAGIOS via the same proxy.
First check if Internet Explorer in the server can reach NAGIOS. Type the following link into the Internet Explorer in the server:
http://monitor.neosys.com
If you are asked to login then the Internet Explorer is working OK. You do not need to login. Just cancel and move on to the next step.
If Internet Explorer CANNOT connect to NAGIOS then resolving that fundamental issue will probably solve the NAGIOS connection issue too.
View the Internet Explorer proxy configuration as follows:
If Internet Explorer CAN connect to NAGIOS then check if there is an issue with NEOSYS's http proxy server configuration as follows:
- Search for UPDATE.$WG file located in the neosys\neosys. folder and open it using notepad or wordpad.
- You should find a message similar to the following:
Connecting to 192.168.100.145:8080 failed: No such file or directory.
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number. A windows proxy command shows the same ip and port:
On Windows 2003/XP
proxycfg
On Windows 2008/Win7
NetSH WinHTTP import Proxy ie
Output:
Microsoft (R) WinHTTP Default Proxy Configuration Tool Copyright (c) Microsoft Corporation. All rights reserved. Current WinHTTP proxy settings under: HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\ WinHttpSettings : Proxy Server(s) : 192.168.100.145:8080 Bypass List : 192.168.*.*;localhost;<local>
Solution 1 - Remove the above setting to create a direct connection
- To remove the registry entries that ProxyCfg.exe creates,you must delete the WinHttpSettings value from the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings
- After you do the above, confirm that the proxy details are deleted by running the proxycfg command
- Next, restart the NEOSYS processes for the changes to be affected
Solution 2 - Configure a functioning proxy ip/port number
- Use the proxycfg command to enter a working proxy ip/port number/exclusion list: http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx
- After you do the above, confirm that the new proxy details are working by running the proxycfg command again
- Next, restart the NEOSYS processes for the changes to be affected
Note: Please refer to the link before you restart NEOSYS processes [Hidden Processes]
On the client server, look at the text of UPDATE.$WG and other UPDATE.* files in the client's NEOSYS installation neosys/neosys folder for clues.
There is a problem with the USB media inserted for backup
Refer to the below wiki link: http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Solving_NEOSYS_process_hung_due_to_.E2.80.9CAbort.2C_Retry.2C_Fail.E2.80.9D http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Error_message:_.E2.80.9CAbort.2C_Retry.2C_Fail.E2.80.9D
Troubleshooting Network Outages reflected in Nagios due to reassigning of router name or IP address
Nagios displays errors if a router name or the ip address it is monitoring have been reassigned.
We can resolve this issue by trying to find the ISP router ip address just before the NEOSYS server.
Steps:-
- Login to Nagios
- Click on Tactical Overview -> Network Outages and click on Blocking Outages to view
- You will now see the host/ISP which is down. Click on the status map icon to identify the host associated with the ISP, as shown below:
- From the Network Map displayed, identify the host associated with the ISP.
- If you already know the ip address of the host then skip to next step else, in Nagios, click on Host Detail, then on the hostname identified earlier and From the Host Details shown, save the host url.
- Log onto www.network-tools.com:
- The trace route should complete successfully revealing the IP address of the ISP just before the NEOSYS server.
- You can now login to zoneedit and update the ip address of the host.
- Check Nagios.
Nagios reports a hung process
Possible Causes and Solutions
Backup -> Impossible
Possible Causes and Solutions
If there is an error "Backup->Impossible" on Nagios check if the USB is properly inserted and schedule downtime to Nagios for 2hours.