Page 2 of 3
Re: Plugins
Posted: Wed Feb 06, 2013 10:47 am
by slansing
You are going to want to either install NSClient++ 3.9.x or run the following command locally to generate the rest of the configuration file:
Code: Select all
# If you want to fill this file with all avalible options run the following command:
# nscp settings --generate --add-defaults --load-all
There is additional information on this at the top of the nsclient.ini file/nsc.ini.
Re: Plugins
Posted: Tue Feb 12, 2013 8:40 am
by MPIvan
Tnx slansing, some how it start working ... but any way i put the lines you told me ...
Now im asking all of you if you know any good plugin or addon for monitoring a network throughput ?
Re: Plugins
Posted: Tue Feb 12, 2013 10:29 am
by slansing
You could use Windows Performance counters for this, do you have any experience working with them? What type of data are you looking to return? There are many options within the performance counters.
Re: Plugins
Posted: Thu Feb 14, 2013 3:05 am
by MPIvan
Hi slansing,
No i have not used Windows Performance counters. And of the type of data is typically throughput (network throughput).
Re: Plugins
Posted: Thu Feb 14, 2013 10:55 am
by slansing
Since you now have NSClient installed and running, lets test a performance counter from the Nagios command line:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H (windows ip goes here) -c CheckCounter -a "Counter:=\\PhysicalDisk(0 C:)\Avg. Disk sec/Transfer" ShowAll MaxWarn= MaxCrit=
Fill in the MaxWarn and MaxCrit values to your liking as well as the IP. This will just be a disk check to make sure we can access the counters. "Assuming you have a C drive?"
Re: Plugins
Posted: Wed Feb 20, 2013 12:25 pm
by MPIvan
Sorry slansing for replying too late ... ill try this thing later ... and i would like to thank you for all the reply's, help and guiding you gave me !
Now i have priority problem. Now im working with check_nt specific with the PROCSTATE. I would like to monitor more then one process but when i run the command for example
./check_nt -H 172.25.1.101 -p 12489 -s IvanPC -v PROCSTATE -l iexplore.exe,chrome.exe
i get respond just for the first .exe (iexplore.exe) in my case.
Is there a way to do this for multiple process to see what process are running or not ?
Re: Plugins
Posted: Wed Feb 20, 2013 1:27 pm
by abrist
From:
http://nagiosplugins.org/man/check_nt
SERVICESTATE =
Check the state of one or several services.
Request a -l parameters with the following syntax:
-l <service1>,<service2>,<service3>,...
You can specify -d SHOWALL in case you want to see working services
in the returned string.
PROCSTATE =
Check if one or several process are running.
Same syntax as SERVICESTATE.
Try adding "-d SHOWALL".
Re: Plugins
Posted: Thu Feb 21, 2013 1:42 am
by MPIvan
Than you abrist and also i would like to thank you too for all the help you gave me, i appreciate all the help tnx
I would like to ask for suggestion about good plugin for bandwidth ?
Re: Plugins
Posted: Thu Feb 21, 2013 11:41 am
by slansing
Most checks regarding bandwidth involve SNMP which is a slightly more advanced form of monitoring, a search of the exchange returns this:
http://exchange.nagios.org/index.php?op ... =bandwidth
Are you interested in integrating SNMP? If so we can post some guides here for you to work with though it looks like are working with Abrist on SNMP already.
Re: Plugins
Posted: Thu Feb 28, 2013 2:08 am
by MPIvan
Hi again ... is there a good plugin to tell me if there is a change in the config file on a router or switch ?