Nagios stop working after upgrade
-
StClairPublic
- Posts: 6
- Joined: Wed Mar 02, 2016 11:20 am
Nagios stop working after upgrade
Nagios stop working after upgrade to Windows 10 pro 64 bit version 2004
Re: Nagios stop working after upgrade
Assuming you mean your Nagios checks of the windows host are failing after the upgrade, you may want to check whatever agent you're running on the win host.
-
StClairPublic
- Posts: 6
- Joined: Wed Mar 02, 2016 11:20 am
Re: Nagios stop working after upgrade
Yes. I have checked the version of the plugin and it is the current version.
I have other windows machines, that we haven't done the upgrade to and they work. It is just the latest version. Read a post some where that it could be something on how Microsoft uses RPC headers.
If this is an issue for core, I'm willing to bet it has to be an issue with XI.
Any help would be appreciated
I have other windows machines, that we haven't done the upgrade to and they work. It is just the latest version. Read a post some where that it could be something on how Microsoft uses RPC headers.
If this is an issue for core, I'm willing to bet it has to be an issue with XI.
Any help would be appreciated
Re: Nagios stop working after upgrade
What agent are you using?
What error do you get when you run a check on an upgraded host?
What error do you get when you run a check on an upgraded host?
-
StClairPublic
- Posts: 6
- Joined: Wed Mar 02, 2016 11:20 am
Re: Nagios stop working after upgrade
Current version of ncpa
UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:196:main()] ERROR: Login to remote object. <- get this regardless of what command I send
Tried using a local account on machine and a domain account. Have even tried administrator account.
Have tried disabling the windows firewall entirely.
UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:196:main()] ERROR: Login to remote object. <- get this regardless of what command I send
Tried using a local account on machine and a domain account. Have even tried administrator account.
Have tried disabling the windows firewall entirely.
Re: Nagios stop working after upgrade
Does the ncpa port show open if you nmap to the remote host from the nagios host?
I think WMI requires some form of login that isn't set up, but I don't use it so I can't say more.
I think WMI requires some form of login that isn't set up, but I don't use it so I can't say more.
-
StClairPublic
- Posts: 6
- Joined: Wed Mar 02, 2016 11:20 am
Re: Nagios stop working after upgrade
I finally figured it out.
In the configuration file I had to put it in as follows
check_ncpa1!"Token"!"disk/logical/C:"!"80"!"90"
NOTE- I couldn't include the '|/used_percent" in the line- Every time I tried it, I basically got a drive not found error. Also note the drive letter you are looking for HAS TO BE A CAPITAL LETTER
I also had to create a seperate the check_ncpa command.
define command{
command_name check_ncpa1
command_line $User1$/check_ncpa.py -H $HOSTADDRESS$ -t $ARG1$ -M $ARG2$'|/used_percent' -w $ARG3$ -c $ARG4$
}
Thanks for the help
In the configuration file I had to put it in as follows
check_ncpa1!"Token"!"disk/logical/C:"!"80"!"90"
NOTE- I couldn't include the '|/used_percent" in the line- Every time I tried it, I basically got a drive not found error. Also note the drive letter you are looking for HAS TO BE A CAPITAL LETTER
I also had to create a seperate the check_ncpa command.
define command{
command_name check_ncpa1
command_line $User1$/check_ncpa.py -H $HOSTADDRESS$ -t $ARG1$ -M $ARG2$'|/used_percent' -w $ARG3$ -c $ARG4$
}
Thanks for the help
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios stop working after upgrade
Hi,
Thanks for sharing your solution.
Marking this one as resolved.
Thanks for sharing your solution.
Marking this one as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!