RE: [Nagios-users] Setting up NCSA

2006-02-06 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Rex Wickham (2020Media.com)
 Sent: Monday, February 06, 2006 9:54 AM
 To: nagios-users@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=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Setting up NCSA

2006-02-06 Thread Rex Wickham
In case people are viewing this on the web and can't see Marc's
 reply, here it is:



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 helped me becuase I didn't realise I had to make the service
 name the same as the results I was getting back from NC_Net



- Rex Wickham (2020media)



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi
1[showUid]=15039




---
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=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@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