hi to all
so
need check windows server 2012 disk i/o and network bandwitch
how to do it ?
about disk, found this plugin (check_ms_win_disk_load ), but dont do it
think, nsclient and windows counter can provide necessary information
than i'm using plugin check_nt
but problem, dont understand how to use him
for example
./check_nt -H %my_host% -s "passwd" -p %port% -v COUNTER -l ???????
where can i find list of counters ?
becouse when use:
[root@mon01 libexec]# ./check_nt -H %my_host% -s "passwd" -p %port% -v COUNTER -l "\\Network Adapter\Bytes Received/sec"
0
[root@mon01 libexec]#
answer 0, becouse plugin dont found my counter ?
how to check windows disk I/O
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: how to check windows disk I/O
You'll want to take a look at the following: https://support.nagios.com/kb/article.php?id=127
What version of NSClient are you using? Can you share your nsclient.ini as an attachment?
What version of NSClient are you using? Can you share your nsclient.ini as an attachment?
Re: how to check windows disk I/O
thanks
how to watch windows counters
C:>TypePerf.exe -q > counters.txt
how to watch windows counters
C:>TypePerf.exe -q > counters.txt
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: how to check windows disk I/O
Please attach (or PM) your nsclient.ini
Additionally, can you PM/attach your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44
Additionally, can you PM/attach your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44