Hi there,
I'm having a total brain-fart here -- I've added a number of my Linux servers via the XI Linux Wizard, and all is fine. Now, I want to go back and monitor if a specific Linux service is running (Asterisk).
How would I go about monitoring a specific service like this? I could have swore I've done this before...
XI Monitoring Specific Linux Service
Re: XI Monitoring Specific Linux Service
You'll want to use the core config manager for this.
Configure --> Core Config Manager --> Monitoring --> Services.
You'll want to set up a command similar to the following:
You'll want to set the config name to whatever config your host is on. I obfuscated mine since it's a personal domain
This is checking for the SSH service. You can change that to whatever.
Alternatively, we have a section for more specialized Asterisk plugins on Nagios Exchange
Let us know if you have further questions.
Thanks!
Configure --> Core Config Manager --> Monitoring --> Services.
You'll want to set up a command similar to the following:
You'll want to set the config name to whatever config your host is on. I obfuscated mine since it's a personal domain
This is checking for the SSH service. You can change that to whatever.
Alternatively, we have a section for more specialized Asterisk plugins on Nagios Exchange
Let us know if you have further questions.
Thanks!
You do not have the required permissions to view the files attached to this post.
Former Nagios Employee.
me.
me.
Re: XI Monitoring Specific Linux Service
My remote Linux machine that I want to monitor the service on does not seem to have 'check_init_service' in nrpe.cfg.
I don't see it in /usr/bin/local or /usr/lib/64/nagios/plugins either.
I don't see it in /usr/bin/local or /usr/lib/64/nagios/plugins either.
Re: XI Monitoring Specific Linux Service
What is in your /usr/local/nagios/etc/nrpe/common.cfg file?
Former Nagios Employee.
me.
me.
Re: XI Monitoring Specific Linux Service
I don't have have that directory.hsmith wrote:What is in your /usr/local/nagios/etc/nrpe/common.cfg file?
[root@PBX1 plugins]# whereis nagios
nagios: /etc/nagios /usr/lib64/nagios
Re: XI Monitoring Specific Linux Service
Just did a reinstall of the NRPE agent using the tarball from my XI server. I had previously installed NRPE via yum.
All looking good now! Thank you!
All looking good now! Thank you!
Re: XI Monitoring Specific Linux Service
Ahhh, the generally preferred method is definitely to install it from source. Our Yum repos could use a little work at the moment 
I'll go ahead and close this one up.
Thanks for letting us know how you resolved the issue!
I'll go ahead and close this one up.
Thanks for letting us know how you resolved the issue!
Former Nagios Employee.
me.
me.