Disable and enable all remote hosts notifications from Nagio

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Disable and enable all remote hosts notifications from Nagio

Postby mgangumolu » Wed Nov 07, 2018 7:21 am

Hi Team,

Could someone please help me, How to disable or enable all remote hosts notifications from Nagios AdminConsole at one time.

Thanks,
Maruti.
mgangumolu
 
Posts: 1
Joined: Wed Nov 07, 2018 7:12 am

Re: Disable and enable all remote hosts notifications from N

Postby ssax » Wed Nov 07, 2018 4:26 pm

If you are trying to do it globally for all hosts/services through the web interface you can go to Home > System > Process Info and then click the Disable Notifications button and submit it.

Or if you're trying to do it with a script you can use:

To disable notifications:

https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=7

To enable notifications:

https://assets.nagios.com/downloads/nagioscore/docs/externalcmds/cmdinfo.php?command_id=8

If that is not what you're trying to do, please clarify and we can point you in the right direction.

Thank you
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 3358
Joined: Wed Feb 11, 2015 12:54 pm


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 2 guests