Search found 54 matches
Re: Filtering
Thanks. We're all good with it. Please close this tread.
Re: Filtering
Thanks. There's an API to create a service not to deactivate it. If I try to create an existing object but with disabled notification, would that overwrite the existing service for that host?
Re: Filtering
Can you suggest if there is API in Nagios that would allow to do something like this: get a list of all failed services, if the host matches some string then disable the service.
Thanks
Thanks
- Mon Jan 29, 2018 12:24 pm
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Re: Switch monitor when community string has special chars
Thanks. It's clear what you meant now. I defined $USER9$ as a community string that has all special characters escaped. I just tried to use $USER9$ as the SNMP community string for the router/switch wizard and the wizard had a problem connecting to the device. I think the issue is that the wizard ne...
Filtering
Hi, We on-board network devices that have a lot of ports. Some ports are not used. When we finish using wizard, Nagios discovers which ports are down. That's legitimate. I want to get to a view that would allow me to filter all services that are in warning/critical with ability to deactivate them? H...
- Mon Jan 29, 2018 10:36 am
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Re: Switch monitor when community string has special chars
When you said "you'd substitute $USER8$ in place of your community string, " do you mean I can do it using Nagios UI? WOuld I do it when using the wizard or after the wizard was ran to change all the services that were affected?
Thanks!
Thanks!
- Fri Jan 26, 2018 5:58 pm
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Re: Switch monitor when community string has special chars
I changed switch.inc.php to use a user macro and it seems to work. It's a little bit hacky, but I will take it.
- Fri Jan 26, 2018 5:02 pm
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Re: Switch monitor when community string has special chars
Thanks. I added the macro. Just to confirm. I still need to change /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php:1027 to refer to the newly created macro instead of using $snmpopts['snmpcommunity'] right ? When I used the wizard, I did not see an option to select a macro for ...
- Fri Jan 26, 2018 1:01 pm
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Re: Switch monitor when community string has special chars
Once I define the community string as a macro (with escaped special chars), how would I tell network wizard to use that when generating the config files?
- Fri Jan 26, 2018 11:02 am
- Forum: Nagios XI
- Topic: Switch monitor when community string has special chars
- Replies: 10
- Views: 4237
Switch monitor when community string has special chars
Hi, Our SNMP community string has special characters (! and &). If we use the wizard to configure Network Switch / Router, then the services do not work and we need to escape special characters. We have 10s of routers/switches to monitor. Each of the port statuses has the port number, so we cann...