send_nsca(1) General Commands Manual send_nsca(1)NAME
send_nsca - send passive check results to an NSCA daemon
SYNOPSIS
send_nsca -H <host_address> [-p port] [-to to_sec] [-d delim] [ -c config_file]
DESCRIPTION
send_nsca This utility is used to send passive check results to the NSCA daemon. Host and Service check data that is to be sent to the
NSCA daemon is read from standard input. Input should be provided in the following format (tab-delimited unless overriden with -d command
line argument, one entry per line):
Service Checks
<host> <svc_description> <return_code> <plugin_output>
Host Checks:
<host> <return_code> <plugin_output>
OPTIONS
host_address
The IP address of the host running the NSCA daemon
port The port on which the daemon is running - default is 5667
to_sec Number of seconds before connection attempt times out. (default timeout is 10 seconds)
delim Delimiter to use when parsing input (defaults to a tab)
config_file
Name of config file to use
SEE ALSO nsca(1)FILES
/etc/nsca.cfg
nsca server configuration
/etc/send_nsca.cfg
send_nsca configuration
AUTHOR
NSCA was written by Ethan Galstad <nagios@nagios.org>. This manpage was written by sean finney <seanius@debian.org> for Debian (but it may
be freely used, modified, and redistributed by others).
nsca December 2005 send_nsca(1)
Check Out this Related Man Page
nagios3stats(8) nagios nagios3stats(8)NAME
nagios3stats - report statistics information from the nagios system
SYNOPSIS
nagios3stats [-hVL] [-c config] [-m] [-d]
DESCRIPTION
nagios3stats Is a program designed to provide information on the running nagios system. It can provide a brief summary of information, or
it can be used to export specific information about the nagios system into an MRTG-compatible format. For more information please consult
the nagios online documentation available at http://www.nagios.org or the documentation available with your nagios server's web page.
OPTIONS
-c|--config=FILE
The main configuration file. On debian systems this defaults to /etc/nagios3/nagios.cfg
-m|--mrtg
Print output in MRTG-compatible format. For more details run nagios3stats with --help
-d|--data=VARS
Comma-seperated list of variables to output in MRTG format. For more details run nagios3stats with --help.
-h|--help
A helpful usage message
-V|--version
Print version information
-L|--license
Print license details
FILES
/etc/nagios3
Default configuration directory for nagios3
AUTHOR
nagios3 is written and maintained by Ethan Galstad <nagios@nagios.org>. This manual page was written by sean finney <seanius@debian.org>
for the Debian GNU/Linux operating system (but it may be freely used, modified, and redistributed by others).
sean finney February 2006 nagios3stats(8)
Hi all
I'm trying to get nagios up and running on FreeBSD 4.10
I installed the ports and just have to configure it
documentation supplied by nagios on how to configure the net-mgmt is not working for me. I tried everything possible but just can't seem to configure it.
Anybody have an... (1 Reply)
Here is my problem:
i'm looking how to append at the end of a line a string.
I'm working on a script to insert a new machine in the hostexinfo.cfg of nagios.
Depending of what type of machine it is, it should be inserted at the right place:
my file looks like this:
define hostextinfo{
... (2 Replies)
Hi All,
Any of you explain in brief on "timeperiod_name workhours" in nagios
for example: define timeperiod{
timeperiod_name workhours
alias "Normal" Working Hours
monday 08:00-18:00
tuesday 08:00-18:00 ....
this means, is it check the respective service at 08:00 & 18:00 or it will... (2 Replies)
I need a script to get me a list of all commented "#" ed checks for my nagios servers, each server has a .cfg file and a Hostgroup folder, below is an example:
Folder
/opt/nagios/etc
|
mars venus earth
|
mars1.cfg venus1.cfg
mars2.cfg venus2.cfg ... (1 Reply)
hi,
I am new to this forum and this is my first post. I am not too familiar with scripting so I will be spending a lot of time here.
I am trying to understand a ksh script.
NSCA=/bin/send_nsca
if ]
What does the -e check for? (3 Replies)
the server i have here is a Ubuntu server. it has nagios on it.
after setting up nagios and having it work as it should, i realized at the very end of all my work that obviously nagios will also need to send out email alerts to a set of email addresses that it has in its database.
my problem... (1 Reply)
HI all,
This is my first topic in this forum.
I have a test environment which has a fedora in it and i installed nagios 3.0.6
I added windows clients into it.
But i am not getting informative outputs from it.
Can anyone tell me where i can edit inorder to get a more informative garph output.... (4 Replies)
Hi All,
I have a configuration file (file.cfg) in which data will be like this
;
,
_
+
a to z
A to Z
Now i have to read a textfile (file.txt) and i need to check whether there is any other character present in text file that is not existing in (file.cfg).
If other characters are present... (4 Replies)
Hello Friends,
I've been struggling with extreme nagios passive service checks. In order to trigger a nagios passive service im going to write an easy shell script like below and will run it in crontab.
As im working on Solaris 10 servers i used "S" instead of lowercase "s" below
#!/bin/sh... (2 Replies)
I have some questions regarding ping
a. im planning to add all my servers to nagios for monitoring purposes. since nagios will do "PING" on the IP address (to check if UP or down), will there be affect on all my servers? say resource utilization, memory, etc? Will it add up or slow down the... (3 Replies)
Hi ,
How to check if a daemon process is running or not ? is the lssrc command the right option ?
I want to check if xcomd daemon is running or not ?
lssrc -a | grep xcomd is of no use. Though I am able to sense that xcomd is running there is no output from lssrc command.
Do I... (2 Replies)
Hello!
I try to save attachments from mails (pop3/imap) to folders.
I have 2 emails, which i want to scan:
user1@host_address
user2@host_address
I use next .fetchmailrc configuration
#defaults protocol pop3
poll "user2@host_address",
protocol imap,
user "user1",
password "1"... (3 Replies)
Hi All,
I would like to ask what is the command line on OpenBSD which able to be used to check the list of library which used by specific daemon?
For example, I would like to check what are the libraries which are used by ftpd.
Thank you in advance.
Regards,
Stefan (2 Replies)
hi guys
we've had nagios spewing false alarm (for the umpteenth time) and finally the customer had enough so they're starting to question nagios. we had the check interval increased from 5 minutes to 2 minutes, but that's just temporary solution. I'm thinking of implementing a script on the... (8 Replies)
I have an AIX 7.1 LPAR where Nagios agent was installed for monitoring. The issue is that when I start the nagios service (ncpa_listener), it starts but does not open the 5693 port it requires for communication. On all other LPARs the service opens the port and is listening. I tried reinstalling... (4 Replies)