how do I un-click this?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

how do I un-click this?

Post by SteveBeauchemin »

While updating a Template I clicked Up. I did not want to have that clicked for eternity. It was a mistake.

How can I un-click this?
Host Template lifetime commitment.PNG
Thanks

Steve B
You do not have the required permissions to view the files attached to this post.
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: how do I un-click this?

Post by dchurch »

Unfortunately the web interface won't allow you to unset it. But... setting it to UP will have the same effect as unsetting it.

It's likely a bug that the control loads up in the "untouched" state and won't let you un-touch it once touched - unless you dig into the developer tools.

Online documentation excerpt:
initial_state wrote: Host - initial state

By default Nagios will assume that all hosts are in UP states when in starts. You can override the initial state for a host by using this directive. Valid options are:
o = UP,
d = DOWN, and
u = UNREACHABLE.

Parameter name: initial_state
Required: no
If it really bothers you, you can edit it using an SQL command:

Code: Select all

mysql -unagiosql -pn@gweb nagiosql -e "update tbl_host set initial_state = '' where host_name = 'myhostname.example.com'"
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked