Page 1 of 1

Editing SNMP fields on existing host

Posted: Tue Dec 05, 2017 3:48 pm
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?

Re: Editing SNMP fields on existing host

Posted: Tue Dec 05, 2017 3:54 pm
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!

Re: Editing SNMP fields on existing host

Posted: Tue Dec 05, 2017 4:10 pm
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?

Re: Editing SNMP fields on existing host

Posted: Tue Dec 05, 2017 5:58 pm
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.

Re: Editing SNMP fields on existing host

Posted: Wed Dec 06, 2017 11:03 am
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?

Re: Editing SNMP fields on existing host

Posted: Wed Dec 06, 2017 12:09 pm
by tgriep
What type of information are you trying to change for those devices?

Re: Editing SNMP fields on existing host

Posted: Wed Dec 06, 2017 12:24 pm
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?

Re: Editing SNMP fields on existing host

Posted: Wed Dec 06, 2017 3:30 pm
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?

Re: Editing SNMP fields on existing host

Posted: Thu Dec 07, 2017 11:17 am
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. :)

Re: Editing SNMP fields on existing host

Posted: Thu Dec 07, 2017 12:33 pm
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.