Page 3 of 3
Re: To monitor memory usage by any process in windows host.
Posted: Thu Jun 16, 2016 5:16 am
by RIDS_I2MP
Hi Team,
I have made the suggested changes now I am receiving attached message.
Kindly suggest.
Re: To monitor memory usage by any process in windows host.
Posted: Thu Jun 16, 2016 9:30 am
by lmiltchev
Is powershell.exe in your path? Check a solution to a similar problem, described here:
http://stackoverflow.com/questions/2977 ... able-progr
Re: To monitor memory usage by any process in windows host.
Posted: Wed Jun 22, 2016 5:49 am
by RIDS_I2MP
Hi Team,
The link didn't help much.
can you suggest some other solution?
Re: To monitor memory usage by any process in windows host.
Posted: Wed Jun 22, 2016 10:32 am
by WillemDH
Hey,
Are you able to run the script locally on the server? Are you able to run the script on a different server? Are you able to run a different Powershell script. Could you please try upgrading to 0.5.0.48 and try again?
Grtz
Re: To monitor memory usage by any process in windows host.
Posted: Wed Jun 22, 2016 11:37 am
by rkennedy
Thanks @WillemDH!
As mentioned, please run the script locally and show us the full input / output. Just to clarify - is this a Windows 2003 machine? Does it have Powershell installed?
Re: To monitor memory usage by any process in windows host.
Posted: Wed Jun 29, 2016 6:00 am
by RIDS_I2MP
Hi Team,
Below attached is the entry mentioned in NSC.ini file and also refer the output attached when command is executed locally on the remote host.
I have copied "check_ms_iis_application_pool.ps1" file to NSClient++/scripts/powershell folder.
Kindly let us also know what is powershell.exe? Is it any exe file which we need to place on the remote host?
Re: To monitor memory usage by any process in windows host.
Posted: Wed Jun 29, 2016 10:26 am
by rkennedy
Powershell is a Windows scripting language, and is on most newer machines standard. I believe you have to install it seperate on Windows 2003. Talk to your Windows team and request that powershell is installed, then it should work properly.