• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

Nagios: How do I read this macro command, what does it mean?


This is defined in the nagios config file etc/checkcommands.cfg

check-host-alive $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1

What does this mean?
What does $USER1$ mean?

Thanks,
Troy
0
tdsimpso
Asked:
tdsimpso
1 Solution
 
benstoreyCommented:
This is defined in the nagios config file etc/checkcommands.cfg

check-host-alive $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1

What does this mean?
What does $USER1$ mean?

$USER1$  is a value used, that will later input the users name (eg John.Smith)

The whole command is basically just asking if the computer that USER1 is on is active, and if it is, what is his ip address, and host address....
Im not 100% sure what the 3000 & 5000 values are, but i think it is saying, that at 3000 it is 80% full and at 5000 it is 100%?
0
 
tdsimpsoAuthor Commented:
I was unable to find the check_ping command.  Where can I find it?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now