10-04-2007
define service{
use test
service_description CASE_CHANGING_SCRIPT test1.pl
check_command check_named_proc!0!0!test1.pl!
}
Is there anything I can add to this statement to restart it when it cant find the test1.pl
5 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hello friends,
i have essential nagios documents and some basic configuration documents but they dont meet my needs, so i would like to have a detailed, comprehensive documents that refers to pluggins, how to configure a complex nagios script as a service, maybe even how to trigger another... (0 Replies)
Discussion started by: EAGL€
0 Replies
2. Solaris
I am trying to install nagios-plugins-1.4.15 on a Solaris 10 box and when I run the ./configure script I get this error:
checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in... (2 Replies)
Discussion started by: thatwaseasy
2 Replies
3. Infrastructure Monitoring
We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side.
I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies
4. Shell Programming and Scripting
Team would like to know if anyone here had created a basic nagios plugin.
I did write a simple postfix service checker. Then add it in nagios nrpe.cfg then restart nrpe and nagios and it is not working, its like i cant receive email if the service is stopped or running.
#!/bin/bash... (0 Replies)
Discussion started by: kenshinhimura
0 Replies
5. Infrastructure Monitoring
I don't like the standard monitoring plugins for Nagios. After hours of checking out alternatives, I finally decided to develop some own alternatives (and spend days ;)).
The goal was to make system monitoring simple. (And not: getting as many details as possible.)
The plugins are written in... (1 Reply)
Discussion started by: MadeInGermany
1 Replies
LEARN ABOUT CENTOS
nagios
nagios(8) Nagios nagios(8)
NAME
Nagios - network/systems status monitoring daemon
SYNOPSIS
nagios [-h] [-v] [-s] [-d] <main_config_file>
DESCRIPTION
nagios is a daemon program that monitors the status of various network accessible systems, devices, and more. For more information, please
consult the online documentation available at http://www.nagios.org, or on your nagios server's web page.
OPTIONS
main_config_file
The main configuration file. On openSUSE systems this defaults to /etc/nagios/nagios.cfg
-h A helpful usage message
-v Reads all data in the configuration files and performs a basic verification/sanity check. Always make sure you verify your config
data before (re)starting Nagios. You can also use the Nagios init script to verify your configuration - try: rcnagios check_verbose
-s Shows projected/recommended check scheduling information based on the current data in the configuration files.
-d Starts Nagios in daemon mode (instead of as a foreground process).
FILES
/etc/nagios
Default configuration directory for nagios
AUTHOR
Nagios 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) and adapted by Lars Vogdt for
openSUSE.
sean finney, Lars Vogdt February 2006, May 2010 nagios(8)