integrate Nagios with Netcool
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: integrate Nagios with Netcool
Thanks for that Troy
Running up another VM was what I was trying to avoid. Most of my Nagios Sites just have the one Virtualisation host so as you rightly pointed out - it needs to be on different hardware.
Also another consideration is that I get charged for each VM that I run. Which is why it would be really good to have a package I can install on a existing server that can monitor a Nagios instance and send an alert if Nagios stops. And yes, it's not entirely fail-safe as exchange could be down as well or a network failure - but at that stage the monitoring won't be a primary concern.
regards.. Fred
Running up another VM was what I was trying to avoid. Most of my Nagios Sites just have the one Virtualisation host so as you rightly pointed out - it needs to be on different hardware.
Also another consideration is that I get charged for each VM that I run. Which is why it would be really good to have a package I can install on a existing server that can monitor a Nagios instance and send an alert if Nagios stops. And yes, it's not entirely fail-safe as exchange could be down as well or a network failure - but at that stage the monitoring won't be a primary concern.
regards.. Fred
Re: integrate Nagios with Netcool
hanya.radwan,
I see that your question was answered above, and some suggestions were given. Would it be alright if I locked and closed this case out, or do you have further questions?
I see that your question was answered above, and some suggestions were given. Would it be alright if I locked and closed this case out, or do you have further questions?
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: integrate Nagios with Netcool
Yes - you can close it . I had already worked through those solutions - but adding another VM is out of the question.
Still looking for a simple script on an external server to check if NAgios is running - guess I can add that to my list of jobs!
Thanks to all for taking the time to respond. Fred
Still looking for a simple script on an external server to check if NAgios is running - guess I can add that to my list of jobs!
Thanks to all for taking the time to respond. Fred
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: integrate Nagios with Netcool
This is my last comment, I would have PM'd Fred but his account doesn't allow it. I had to comment as there is already a script that does what he is after and I would cringe if he re-invented the wheel.
/usr/local/nagios/libexec/check_nagiosxiserver.php
On a test XI box, run the wizard, create the services and you'll see what commands are created in CCM. Then you'll know how to use the check_nagiosxiserver.php plugin/script on a non-XI server.
Just grab the script that the "Nagios XI Server" monitoring wizard uses in it's services:Fred Kroeger wrote:Still looking for a simple script on an external server to check if NAgios is running - guess I can add that to my list of jobs!
/usr/local/nagios/libexec/check_nagiosxiserver.php
On a test XI box, run the wizard, create the services and you'll see what commands are created in CCM. Then you'll know how to use the check_nagiosxiserver.php plugin/script on a non-XI server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: integrate Nagios with Netcool
from your replies, I create the solution which fit my Nagios environment, that is:
our company has two data centers, and Nagios exist in one of them, so I will let one server (in second data center)to check Nagios server if up or down by ping .
regards that can anyone has script to check Nagios service also if up from remote server.
our company has two data centers, and Nagios exist in one of them, so I will let one server (in second data center)to check Nagios server if up or down by ping .
regards that can anyone has script to check Nagios service also if up from remote server.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: integrate Nagios with Netcool
You can use the following plugin that is on the Nagios XI server (just copy it)
help like
the "ticket" can be found on your XI server in the URL's located at Admin -> Manage Components -> Backend API URLs
Code: Select all
/usr/local/nagios/libexec/check_nagiosxiserver.phpCode: Select all
php /usr/local/nagios/libexec/check_nagiosxiserver.php -h-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: integrate Nagios with Netcool
Thanks all - the php script looks like what I was looking for - so will give that a try.
Just realised that at one of my sites the Nagios server is the only UNIX server, all the others are Windows servers, so that will test my abilities a bit to get the same thing working and alerting on a windows server.
regards... Fred
Just realised that at one of my sites the Nagios server is the only UNIX server, all the others are Windows servers, so that will test my abilities a bit to get the same thing working and alerting on a windows server.
regards... Fred
Re: integrate Nagios with Netcool
Let us know how that works for you on the php script. I'll leave this thread open for now. Thanks.
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: integrate Nagios with Netcool
I've got what I need for now so if the OP is satisified you can close.
Thanks... Fred
Thanks... Fred
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: integrate Nagios with Netcool
Were you able to sort this out hanya.radwan, or should we leave the ticket open so we can assist further?