integrate Nagios with Netcool

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: integrate Nagios with Netcool

Post by Fred Kroeger »

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
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: integrate Nagios with Netcool

Post by jolson »

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?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: integrate Nagios with Netcool

Post by Fred Kroeger »

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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: integrate Nagios with Netcool

Post by Box293 »

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.
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!
Just grab the script that the "Nagios XI Server" monitoring wizard uses in it's services:

/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

Post by hanya.radwan »

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: integrate Nagios with Netcool

Post by scottwilkerson »

You can use the following plugin that is on the Nagios XI server (just copy it)

Code: Select all

/usr/local/nagios/libexec/check_nagiosxiserver.php
help like

Code: Select all

php /usr/local/nagios/libexec/check_nagiosxiserver.php -h
the "ticket" can be found on your XI server in the URL's located at Admin -> Manage Components -> Backend API URLs
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: integrate Nagios with Netcool

Post by Fred Kroeger »

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
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: integrate Nagios with Netcool

Post by cmerchant »

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

Post by Fred Kroeger »

I've got what I need for now so if the OP is satisified you can close.

Thanks... Fred
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: integrate Nagios with Netcool

Post by jdalrymple »

Were you able to sort this out hanya.radwan, or should we leave the ticket open so we can assist further?
Locked