Nagios simulation

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
elvinchia
Posts: 25
Joined: Fri Jul 23, 2010 12:01 am

Re: Nagios simulation

Post by elvinchia »

mguthrie wrote:There isn't anything that I know of off hand, but if you wanted to create a dummy setup, the check_dummy command basically lets you create a host or service with a fake check that will return the status code, along with a text string you define.

Example:

Hosts
./check_dummy 0 'Everything is OK'
./check_dummy 1 'Everything is BAD!'

Services
./check_dummy 0 'Everything is OK'
./check_dummy 1 'Everything is WARNING!'
./check_dummy 2 'Everything is CRITICAL'

In which file to define the dummy host and dummy services?
Locked