Beginner installing plugins


#1

I just installed Nagios on a Suse server. I have many Windows server that I installed nsclient++ on. I am happy with the results and able to see all the nsclients. I do want more monitors then their “default” package.

I browse the Exchange and very delighted on all the plugins I see, but the only problem, is that I do not know how to go about installing them.

If you help me, please keep in mind that I am a novice on Linux, but can do anything told in detail.

So far I ran into files without instructions to install. (maybe it is very easy as dumping into a directory thats why there are not instructions) I fould a .sh file (which I do not know what to do with) and a check_ file that I dumped into the libexec directory which did not work.

Thanks in advance!


#2

the best thing is to start with searching for documentations on nsclient++.
NSClient is able to access all data available in the windows perormance monitor so you would usually not need any more plugins to make most of what you possibly want to do.

If you say exactly WHAT you want to check on the windows server it’s easier you get a useful answer.


#3

I am currently monitoring:

C:\ Drive Space OK 11-20-2009 08:36:03 6d 17h 4m 53s 1/3 c: - total: 74.46 Gb - used: 58.10 Gb (78%) - free 16.36 Gb (22%)
CPU Load OK 11-20-2009 08:39:10 1d 21h 31m 25s 1/3 CPU Load 6% (5 min average)
Explorer OK 11-20-2009 08:40:17 1d 21h 30m 18s 1/3 Explorer.EXE: Running
Memory Usage OK 11-20-2009 08:39:24 0d 17h 1m 11s 1/3 Memory usage: total:2459.83 Mb - used: 1815.27 Mb (74%) - free: 644.56 Mb
NSClient++ Version OK 11-20-2009 08:30:31 6d 19h 32m 58s 1/3 NSClient++ 0.3.7.493 2009-10-12
Uptime OK 11-20-2009 08:31:41 6d 19h 41m 59s 1/3 System Uptime - 6 day(s) 16 hour(s) 59 minute(s)
W3SVC

I would like to monitor my other volumes space, read/write % times, Eventlog errors, openmanage, Exchange plugin for checking top size and top emailer and health, SQL Server plugins for health and monitor.


#4

nsclient.org/nscp/wiki/CheckCommands


#5

Hi Neeper67,

Were you able to configure the new plugins? I’m also in the same situation. Please let me know briefly the steps you followed to configure the new plugins. For example to configure CheckEventLog, what are the steps required on the Nagios server and the NSClient++ on the monitored windows machine.

Thanks


#6

I am new to this but I just managed to install check_mssql from exchange.nagios.org/directory/Pl … ql/details

Installing a plugin basically involves:

  1. download plugin
  2. copy it to /usr/local/nagios/libexec
  3. Change owner to nagios and make it executable
  4. installing dependencies. In my case on Ubuntu:
    sudo apt-get install php5 php5-mysql php5-cli libapache2-mod-php5 php5-sybase