Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

somes services are not working out of box #3

Open
DessaiImrane opened this issue Mar 24, 2014 · 10 comments
Open

somes services are not working out of box #3

DessaiImrane opened this issue Mar 24, 2014 · 10 comments

Comments

@DessaiImrane
Copy link
Member

  • BigProcesses
  • DisksIO
  • EachCpu
  • InactiveSessions

Those services returns : "A valid MODE and/or SUBMODE must be specified"

I think, something is broken is command definition but I can't find what.

I need some help on this.

Thanks.

@mohierf
Copy link

mohierf commented Mar 24, 2014

I may help ... I know quite well Windows host monitoring. I have not yet had a look to Windows monitoring with the new Shinken version, so, please, should you explain what you installed and what you are trying to monitor ?

@DessaiImrane
Copy link
Member Author

I have just installed this pack.
All services are working well except listed above.

The plugin (with the command definition associated to it) returns this output when plugin is launched

This Output is visible on webui, of course.

@mohierf
Copy link

mohierf commented Mar 24, 2014

I will try to have a look today ... keep you informed in this issue.

@DessaiImrane
Copy link
Member Author

Thanks but there is no emergency. I just posted that here so that we don't forget it.

@mohierf
Copy link

mohierf commented Mar 24, 2014

I also need this pack in my environment ...

@mohierf
Copy link

mohierf commented Mar 25, 2014

@DessaiImrane : I made a test with the Windows pack to monitor a Windows PC with an installed Windows XP Pro ... and I had no problems.

@DessaiImrane
Copy link
Member Author

Arf ! That is too bad for me if we can reproduce it.

I tried on a windows 7 Pro. Maybe related to this version of OS ?

@mohierf
Copy link

mohierf commented Mar 25, 2014

I will also ake a test with a Win 7 Pro ... keep in touch !

2014-03-25 12:38 GMT+01:00 DessaiImrane [email protected]:

Arf ! That is too bad for me if we can reproduce it.

I tried on a windows 7 Pro. Maybe related to this version of OS ?

Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-38554183
.

@ironwilliamcash
Copy link

Hi, had the same problem and figured out where part of it is coming from.

in the /packs/os/windows/commands.cfg there are some errors.

For the command : check_windows_big_processes, the command_line associated does not use the correct syntax for mode. It has "-m checkproc" but should have "-m checkprocess". I updated this and it works fine without the error now.

For the other three processes, I can see that the modes are note defined in the /libexec/check_wmi_plus.pl , but I can't find what they should be as of yet.
The invalid modes are the following:
"-m checkts" for check_windows_inactive_ts_sessions
"-m checkeachcpu" for check_windows_each_cpu
"-m checkio" for check_windows_disks_io

They don't seemed defined in the mode list. I will try to continue to investigate in case I can find the error

@ironwilliamcash
Copy link

Ignore my above post, I found out why they don't exist. You have to get the updated checkWMIplus.pl files from the following site:
http://www.edcint.co.nz/checkwmiplus/tracker

Not sure why they don't come by default though....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants