Editing SNMP fields on existing host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Editing SNMP fields on existing host

Post by sathevaner »

Greetings,

Adding a Network Switch/Router through the wizard, there are no problems providing the SNMP information to monitor such a device. However, when I attempt to edit the host so I can change/view the SNMP information, that information does not show up. I wasn't able to find this answer in previous threads on this forum, and I don't have an understanding on why this is the case. Could someone please tell me:

1.) If this is intentional
2.) Why this is the case?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Editing SNMP fields on existing host

Post by lmiltchev »

However, when I attempt to edit the host so I can change/view the SNMP information, that information does not show up.
Can you elaborate on this? Where are you making these changes, in the CCM? What exactly are you changing? What would you like to see and what do you actually see? Screenshots would be helpful. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Re: Editing SNMP fields on existing host

Post by sathevaner »

I was under the impression that editing the host could only be done in CCM. Is this correct?

I have attached a small screenshot which shows the Sample network switch/router I've been using, which I can see on the Hosts page in CCM. When I click on the Edit button, I can view or make changes to the: Common Settings, Check Settings, Alert Settings, and Misc Settings. None of these tabs contain any information to view or edit the SNMP information.

My original 2 questions remain the same. Is this more helpful?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Editing SNMP fields on existing host

Post by tgriep »

OK, that helps, the details you want to edit are for the service checks and not the host checks.
The service checks are separate from the host check so you would go to the Core Config Manager > Services menu to edit them.
Go to that menu and search for the services that you want to edit, do the changes and save and Apply the Config and you should see the updated information for those services.
Let us know if you have any questions.

And yes, you would have to to your changes in the CCM for most objects.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Re: Editing SNMP fields on existing host

Post by sathevaner »

tgriep wrote:OK, that helps, the details you want to edit are for the service checks and not the host checks.
I am not referring to services within a host. As I mentioned in my previous posts, I am looking to alter or view the SNMP information already existing on a host. I do not see the ability to do this. Where can I see SNMP information for a host after it's already been added through a Configuration Wizard in the Core Config Manager?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Editing SNMP fields on existing host

Post by tgriep »

What type of information are you trying to change for those devices?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Re: Editing SNMP fields on existing host

Post by sathevaner »

tgriep wrote:What type of information are you trying to change for those devices?
See the attached screenshot. This is where SNMP can be configured when you add a device through the Configuration Wizard with the Network Switch/Router template. After adding a device, this information is never seen again. Can I see it again after adding a device? If so, then how?
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Editing SNMP fields on existing host

Post by npolovenko »

@sathevaner, So you'd like to change the SNMP community string, right? Once you already ran through the wizard you'd need to manually open each service in the CCM to change the community string.
screen.png
You may also try to re-run the whole wizard one more time, as that should update all the services for you automatically.
Does this answer your question?
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Re: Editing SNMP fields on existing host

Post by sathevaner »

npolovenko wrote:@sathevaner, So you'd like to change the SNMP community string, right? Once you already ran through the wizard you'd need to manually open each service in the CCM to change the community string.
screen.png
You may also try to re-run the whole wizard one more time, as that should update all the services for you automatically.
Does this answer your question?
Thank you, @npolovenko, it does.

Do you know the logic behind this implementation? In my humble opinion, I think it'd be a lot easier to look in the Host for the SNMP configuration and have any changes to the strings push out to the associated services.

Thanks again for helping me understand how all of this works. :)
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Editing SNMP fields on existing host

Post by npolovenko »

@sathevaner, Not a problem. I actually agree with you on this one. But I can see how this happened to be this way. The problem is that historically Nagios separates service checks and host checks. Even though they do belong to the same device obviously. That is because when Nagios checks the hosts, it uses a ping or icmp check command, to simply determine whether the host is UP/Reachable or Down. But when it comes to checking services that belong to the host, Nagios may use a dozen of different checks to check different parameters, like CPU, memory, MYSQL, those are all separate checks. Perhaps, with the switch wizard, all checks ARE pretty much the same, but it's hard to change the "core" of the system for one particular scenario.
I think your best bet would be to use a bulk modification tool or rerun the wizard.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked