Search found 11 matches

by N4g10s4dm1n
Fri Mar 01, 2019 2:49 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

There's nothing fancy about the credentials. I tested multiple different passwords looking for some character that suddenly wasn't being passed correctly, and found nothing of the sort. Even using a minimally complex password returns the same errors. Is there anything in the query output or wmic err...
by N4g10s4dm1n
Thu Feb 28, 2019 5:08 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

Same result. [root@myserver ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -d -z -H myserver.mydomain -m checkcpu -u mydomain\/useraccount -p password --extrawmicarg "--debuglevel=4" Command Line (v1.6): /usr/local/nagios/libexec/check_wmi_plus.pl -d -z -H myserver.mydomain -m checkcpu -u...
by N4g10s4dm1n
Wed Feb 27, 2019 3:58 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

Thanks for your reply @scottwilkerson

Yes, all the proper permissions are in place. I'm able to use the same account to query WMI on my Windows servers from other Windows servers using PS and WBEMTEST.
I did manually verify though that all permissions are still in place.
by N4g10s4dm1n
Mon Feb 25, 2019 3:12 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

There are no logon restrictions on the domain account I'm using. As I said in my original post I've had this working for about a year without issue. At this point I have rolled back both the Nagios server and test Windows servers to a point in time where I know everything was working, and still got ...
by N4g10s4dm1n
Wed Feb 20, 2019 7:09 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

I've done some more testing. I created a local account on the Windows box and gave it admin privileges. I ran the same query as above using this new local admin account, but modified not to use the domain portion of course, and got the same results in the shell (no info and access denied). However, ...
by N4g10s4dm1n
Wed Feb 20, 2019 2:46 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

I've already run raw queries and the result is the same. I've also run Get-WmiObject directly on the Windows servers (even using the same account that is used in the Nagios auth file) and I get successful results. Here is output from running a check with increased debugging. [root@myserver ~]# /usr/...
by N4g10s4dm1n
Mon Feb 18, 2019 6:25 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

The format of the auth file, which was working for the past year and has not been changed, is like below: username=accountname password=thepasswordhere domain=mydomain Running the same check with specified username and password produces the same result. [root@myserver ~]# /usr/local/nagios/libexec/c...
by N4g10s4dm1n
Mon Feb 18, 2019 5:27 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Re: Auth file suddenly stopped working

Thank you for your reply mcapra. check_wmi_plus.pl version is 1.6 Output from running -d -z (output didn't show any credentials even with -z specified). [root@myserver ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -d -z -H myserver.mydomain -m checkcpu -A /usr/local/nagios/etc/auth.txt Command Lin...
by N4g10s4dm1n
Mon Feb 18, 2019 3:11 pm
Forum: Open Source Nagios Projects
Topic: Why can't I post to General Support
Replies: 3
Views: 1548

Re: Why can't I post to General Support

Thanks for your response Scott.

Yes, I was able to figure it out. Completely my fault as a newbie to the forums. I tried to delete this after the fact but couldn't figure out a way to do so. Sorry for the spam!

Thank you!
by N4g10s4dm1n
Sun Feb 17, 2019 4:11 pm
Forum: Open Source Nagios Projects
Topic: Auth file suddenly stopped working
Replies: 18
Views: 6999

Auth file suddenly stopped working

CentOS 7 Nagios Core version 4.4.1 Hello, I'm using check wmi plus to monitor windows servers. I've had a successful set up (wmi checks working and email alerts working) for about a year with no real issues. I'm using a credentials file that is called in the wmi checks to provide the user account cr...