confusion over notification
Terry Simons
galimore at mac.com
Mon Aug 12 20:54:45 CEST 2002
David,
Firstly,
You set up contacts with notification commands so that when a
notification needs to happen for that user it will call the appropriate
command. In this way, you can actually have separate commands for
different people... kind of handy if you have a situation that might
need it.
So that's part 1. You set up notification commands for users so that
*when* a notification is send out, it knows what to do to contact the
user.
Part two:
Services do *NOT* use notification commands. They use check commands.
The difference is that a check command is what is used when a service is
checked. So let's say we use a check_tcp -p 23 for some service...
we'll call it check_telnet. If that service FAILS then we need to send
a notification to the appropriate people.
Nagios figures out who needs to be contacted based on your hostgroup
definitions (which it'll figure out from your contact_groups option in
the service), and it will send each user a notification based on
whichever notification_command they have specified.
So... in short, notification commands are used to tell Nagios how to
*notify* contacts. Check commands are used to tell Nagios how to
*check* hosts and services.
I hope this helps...
- Terry
On Monday, August 12, 2002, at 12:31 PM, Crown David T. (DNREC) wrote:
> After reading over the docs and what not, I am still a little confused
> over notification setup. When I am setting up notification commands
> (I’m just using the included scripts for mail) do I set up the users
> with the commands or do I set the services up with those commands,
> both? I have them setup, and partially working (I now know my mistake).
> But before I start banging away on the keyboard to correct this, I am
> hoping to have a slightly clearer picture. Any light that could be shed
> on this would be much appreciated. Thanks
>
>
>
> David Crown, MCSE, MCP+I, CCNA
> Information Resources Management
> State ofDelaware,
> Department of Natural Resources and Environmental Control
> dcrown at state.de.us
> Voice: (302)739-4409 Fax: (302)739-6242
>
> www.dnrec.state.de.us/
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
More information about the Users
mailing list