Setting up NCSA
Marc Powell
marc at ena.com
Mon Feb 6 17:09:48 CET 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Rex Wickham (2020Media.com)
> Sent: Monday, February 06, 2006 9:54 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Setting up NCSA
>
> Hi
>
> I've got stuck with NCSA and wondered if anyone could help.
>
> On my Windows box I've installed
> 1- send_nsca.exe - which is working - sending results over port 5667
to
> my nagios server
> 2- NC_Net from Shatter It which is also working - generating disk
usage
> reports and so on.
>
> on my Nagios box I have installed NCSA started the deamon ok. It
appears
> to be listening becuase I am getting entries in the logs like this:
> Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;0;C: - total: 5.85 Gb -
> used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free
> Space'=1.31Gb;0.58;0.29;0.00;5.85
> Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;1;C: - total: 5.85 Gb -
> used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free
> Space'=1.31Gb;2.92;0.58;0.00;5.85
> (Vision is the name of the host being checked)
>
>
> As I understand it, NCSA is copying these results to the nagios
command
> file (command_file=/usr/local/nagios/var/rw/nagios.cmd)
>
> What I don't understand is how to get Nagios to do anything with these
> results.
> What service check options should I be using to pick these up?
> What alerts am I going to be getting?
Reread the section on Central Server Configuration at
http://nagios.sourceforge.net/docs/1_0/distributed.html.
Once you have verified you have host and service definitions for your
distributed checks (i.e. host 'Vision' and service 'freespace') on your
nagios host and enabled passive checks for the services (and/or host if
you are using 2.0), notifications etc are just like a normal active
check.
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list