Modifying existing Hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Modifying existing Hosts

Post by TBT »

Let's say a user wanted additional Disk Metrics for a Host which has already been added via NCPA Wizard.

In the past I've suggest users run the Wizard again, selecting their new options to add (in this case another disk) and continue along with all the Wizard steps. I'm now wondering if there is a more efficient way to make these types of changes Hosts already monitored?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Modifying existing Hosts

Post by gsmith »

Hi,

Yes there are at least two ways to do this. Say you have server001 defined with three services: serviceA,
serviceB, and serviceC. Server002 has serviceA, and you want to add serviceB.
In the CCM go to services, edit serviceB and add server2 under "Manage Hosts"
Image17.jpg
Similarly, you can put serverB and serverC into a hostgroup and add that hostgroup to the service using the
"Manage Host Groups" button.
Image18.jpg
Let me know if this is what you needed.


Thanks
You do not have the required permissions to view the files attached to this post.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Modifying existing Hosts

Post by TBT »

I'm sorry, but your examples do not make sense.

First example you suggest adding serviceB, but if serviceB needs to be added how can you edit if it doesn't exist yet.

Second example you're referencing Host Groups. I'm talking about service checks for disks.

Perhaps you can clarify based on my example?

Thank you,
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Modifying existing Hosts

Post by gsmith »

hi,

My bad, I thought the use case was you had an existing service you wanted to add to other hosts.

There is a way to add a new service to a host other than the wizard, and that is to use the API.
You can find the details on the Help page, here's a screenshot:
Image19.jpg
The apikey is what controls the access to doing this.

Thanks
You do not have the required permissions to view the files attached to this post.
Locked