Search found 4 matches

by ScareCrow57
Thu Dec 13, 2012 10:43 am
Forum: Open Source Nagios Projects
Topic: Compile check_dummy on linux
Replies: 2
Views: 1990

Re: Compile check_dummy on linux

This is the CMakeLists.txt CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(oracle C) include_directories ("/data/SAN-VOL3/downloads/nagios/include/") include_directories ("/data/SAN-VOL3/downloads/nagios-plugins-1.4.16/plugins/") include_directories ("/data/SAN-VOL3/downloads/n...
by ScareCrow57
Thu Dec 13, 2012 10:14 am
Forum: Open Source Nagios Projects
Topic: Compile check_dummy on linux
Replies: 2
Views: 1990

Compile check_dummy on linux

I am attempting to write my own plugin. As part of the exercise I want to compile the check_dummy plugin to make sure I can at least compile this. I am using cmake to create the make file. I have included the directories to the .h files supplied. When I run make I get the following [100%] Building C...
by ScareCrow57
Thu Dec 13, 2012 10:10 am
Forum: Open Source Nagios Projects
Topic: Nagios hearbeat notifications
Replies: 4
Views: 1978

Re: Nagios hearbeat notifications

I did this with a perl script that runs the command "service nagios status" and then sends an email. The script runs in a cron job every 4 hours.
by ScareCrow57
Thu Dec 13, 2012 10:04 am
Forum: Open Source Nagios Projects
Topic: Help with adding custom service
Replies: 3
Views: 1233

Re: Help with adding custom service

If you are using nrpe then simply create a command: check_procs -c 1:10 -C CrazyService