Some of my hosts show "N/A" in the duration column. Which variable do I set to get a time?
The Admin> System Profile shows the system time and PHP time are the same and correct. PHP time zone is also correct.
Which host variable controls duration?
Re: Which host variable controls duration?
Are they passive checked hosts who have not received any checks yet? Are they up? You can schedule an immediate check from the host details page.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Which host variable controls duration?
I have five hosts.
1. localhost has a duration time and is OK.
2. Host Sim was up and had N/A duration. Sim was then shutdown, nagios reported DOWN and reported a correct down duration. Sim was just powered up and nagios is reporting UP duration correctly. the check is check-host-alive.
3. Host Star is up and has N/A duration. The check uses check_xi_mssql_database. the check runs correctly.
4+5. Hosts Sync and Workhorse is up and has N/A duration. The check uses check-host-alive. The checks run correctly.
What's weird is Sim had N/A duration, but switching it off and then on yielded a correct UP duration.
Unfortunately I cannot turn Star, Sync, and Workhorse on and off.
1. localhost has a duration time and is OK.
2. Host Sim was up and had N/A duration. Sim was then shutdown, nagios reported DOWN and reported a correct down duration. Sim was just powered up and nagios is reporting UP duration correctly. the check is check-host-alive.
3. Host Star is up and has N/A duration. The check uses check_xi_mssql_database. the check runs correctly.
4+5. Hosts Sync and Workhorse is up and has N/A duration. The check uses check-host-alive. The checks run correctly.
What's weird is Sim had N/A duration, but switching it off and then on yielded a correct UP duration.
Unfortunately I cannot turn Star, Sync, and Workhorse on and off.
Re: Which host variable controls duration?
Are you using check-host-alive for the host check on Star? If not, you really should, and make the mssql check a service check.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Which host variable controls duration?
I can't use check-host-alive for Star because of a firewall. The ping times out.
I do use check-host-alive for Sync and workhorse and they have N/A duration. Does the blinking System Problem: "performance grapher is not running" have anything to do with this?
I do use check-host-alive for Sync and workhorse and they have N/A duration. Does the blinking System Problem: "performance grapher is not running" have anything to do with this?
Re: Which host variable controls duration?
Not exactly, but it may be indicative of other issues. To restart the perf grapher, run:moose wrote: Does the blinking System Problem: "performance grapher is not running" have anything to do with this?
Code: Select all
service npcd stop
killall npcd
service npcd startWhich dots are red?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Which host variable controls duration?
service npcd stop
returned NPCD was not running
killall npcd
returned npcd: no processes running
service npcd start
returned NPCD started.
Perf grapher is running. All dots green. TYVM.
returned NPCD was not running
killall npcd
returned npcd: no processes running
service npcd start
returned NPCD started.
Perf grapher is running. All dots green. TYVM.
Re: Which host variable controls duration?
No problem, glad to help.moose wrote:Perf grapher is running. All dots green. TYVM.
Can you force an immediate check and see if the problem goes away?moose wrote:I do use check-host-alive for Sync and workhorse and they have N/A duration
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Which host variable controls duration?
I solved why the duration is N/A. I set the check-host-alive where I defined the host: Host Management> Common Settings> Check command.
Attaching check-host-alive to a host in the Service Management screen gives a duration.
Attaching check-host-alive to a host in the Service Management screen gives a duration.
Re: Which host variable controls duration?
Great. Locking thread.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.