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
tdsimpsoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tdsimpsoAuthor Commented:
I was unable to find the check_ping command.  Where can I find it?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.