Hi all,
I've been using Core for a few years now and recently decided to expand and improve on our config.
I'm not really sure what the correct term is, but i would like to know if a test service definition is the correct way of configuring what i desire.
Basically, when we do certain actions with servers or their services, there is typically a bit of testing or additional deployment to do. For example NSClient updates, or copy powershell scripts into the nsclient script folder (we currently deploy this by SCCM to all servers). This results in having to set downtime for the applicable service on each server to avoid email alerts or affecting downtime figures.
The new service directive i configured has email notifications off, but looks like it still marks that service as downtime. it would be an ad-hoc basis that would get pushed to all hosts so configuring a timeperiod def wouldn't really be suitable, and manually setting downtime wouldnt be the quickest/most accurate way.
Is there a way to configure a maintenance definition for short>mid-term testing purposes that will exclude it from both email notifications and automatic downtime?
thanks for any help
'maintenance' service definition config
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: 'maintenance' service definition config
What version are you using?
4.2.0 had some downtime improvements. I'm wondering if that's what you are looking for: https://github.com/NagiosEnterprises/na ... /Changelog
If you are already on 4.2.4, maybe you could post a screenshot of where you think more downtime options should be. We might need to file a feature request.
4.2.0 had some downtime improvements. I'm wondering if that's what you are looking for: https://github.com/NagiosEnterprises/na ... /Changelog
If you are already on 4.2.4, maybe you could post a screenshot of where you think more downtime options should be. We might need to file a feature request.
Re: 'maintenance' service definition config
i'm currently on 4.2.1.
i assumed it'd be something in the templates.cfg, define service section. Maybe something like 'register_downtime 0'.
but from what your saying, no such feature currently exists. I'll have another think about how we're currently configured and if there might be a way by changing my config and get back to you..
i assumed it'd be something in the templates.cfg, define service section. Maybe something like 'register_downtime 0'.
but from what your saying, no such feature currently exists. I'll have another think about how we're currently configured and if there might be a way by changing my config and get back to you..
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: 'maintenance' service definition config
Is there a reason you don't just set n in notification_options for the host/service/template?
https://assets.nagios.com/downloads/nag ... ml#service
https://assets.nagios.com/downloads/nag ... ml#service
Previous Nagios employee