Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WMI Scripts

Hi there. New user, and am learning as fast as I can, but I've run into a snag. 

Running the latest version of NEMS, and when I try to use the check_wmi_plus.pl scripts that are included with NEMS, I've been getting errors.

1) I had to install the datetime.pm Perl module, as I was getting errors.
2) I had to change the directory in the check_wmi_plus.pl file itself where it was looking for utils.pm (to /usr/local/nagios/libexec.

Once those were done, the scripts ran, but with a warning that it couldn't get any WMI information due to a bad user/pass or not enough system privs. I went to shell and ran the script manually (typing in hostname, user and pass) and it works, and I've manually made some checkcommands with the information hard-coded, rather than pulling the ARGs from somewhere, and it works, but I'd really rather be using ARGs that can be defined in the interface (in case I have to change passwords and such).

Are these known bugs, or am I missing a step somewhere? 

Messages In This Thread
WMI Scripts - by readyit - 09-23-2018, 09:53 PM
RE: WMI Scripts - by Robbie Ferguson - 09-25-2018, 11:07 AM
RE: WMI Scripts - by readyit - 09-25-2018, 11:23 AM
RE: WMI Scripts - by Robbie Ferguson - 10-02-2018, 09:32 AM
RE: WMI Scripts - by Robbie Ferguson - 12-16-2018, 04:30 PM
Forum Jump:

Users browsing this thread: 1 Guest(s)