Today we’re going to talk about using WMI with Nagios xi2 Monitor your windows environment. Great. One thing to keep in mind. This is generally going to be easier. If you are already using WMI to connect to remote hosts, obviously super powerful and individual workstation taking it to the next level is using it for mostly.
So if you don’t have that set up and you need some help with that, we have a job that they are linking right here in the Enid section that will take you to that and give you some more information in regards to that also references document in the second portion of this article where we do the screen.
That highlights a couple other specific points that you want to know ready. Here we go.
Step One: We’re going to put in the IP address machine that we’re going to and now we’ll be happy info section.
You’ll notice that we can do one of two things.
We can use a username and a password or we can use an authorization fine. How would you choose? Well, here’s really what it comes down to the username. I’m that we’re putting in is going to be the user name of the user name that you’re using as a WMI agent that is going to connect remotely at this point has got to meet some complexity requirements from Microsoft’s when we look at that as God or beast and it’s got to have three of the following categories in it.
When we get to non-alphanumeric characters special characters here use some of those specifically the exclamation point he uses a dollar sign and macros. So it preserves those. So if the password that you have chosen It for w, my agent, using the password.
I happen to know the one I’m putting in does work. So if you have those special characters skin that user’s information in a user’s password and you don’t want to change it. Then you use the authorization file the authorization files are very simple files.
it’s its human Linux system on an Ideal machine and it just basically says username equals password equals and fill in that information and it references the file. If you facing any kind of WMI provider host high CPU | CLICK HERE.
Check and that can get you around the limitation there. So we’ll just hit next and it brings up everything that we just like to see so we’re going to monitor pain CPU memory usage page value. Is it now? Here’s what’s cool about WMI just like SNMP it’s going to discover what’s going on on that device. So you can use this device has got to C drive and indeed right if we were using and
Discovers we’d have to know that it’s got a see handedly and we’d have to supply the game. So that’s one thing that’s nice about this with it. It also will discover services that are running and processes that are running.
So say we want to monitor Apache as a service. That’s something that we can monitor their processes. Maybe this is a SQL server. And so you want to monitor the SQL Server process. You can monitor that here you can also can At the selected multiples at a time the other thing that you can monitor our event Lodge, this is really how simple it is.
We are done. I mean you can change your threshold. You can look through your skin Bliss services and processes and you can check the logs and other stuff but that’s pretty much it once we click through and we get to the end of the process here. We’re monitoring and we’re good to go.