device state

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

device state

Post by seighalani »

hi everyone

i installed cacti-0.8.7i-2.el6 on centos6. why devices show state of hosts for example by delay. i have a lot of delay for up or off states.sometime show recovering state! what should i do?thanks in advance
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: device state

Post by gandalf »

Please post a screenshot. I do not exactly understand what you are heading at
R.
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

hi again
i mean when my host is on , cacti shows it off or recovering. it takes a long time.
Attachments
status.jpg
status.jpg (113.72 KiB) Viewed 2879 times
Last edited by seighalani on Tue Jul 31, 2012 9:05 am, edited 2 times in total.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: device state

Post by phalek »

I think he means the following:
If a device goes down, it takes a while before it is marked as such by Cacti
If a device is up again, it takes a while before it is marked as such by Cacti, displaying a "recoverring" in the mean-time

This behavior is defined by the "Host Up/Down Settings" on the "Poller" tab of the cacti settings. Right at the bottom.

"Failure Count
The number of polling intervals a host must be down before logging an error and reporting host as down."

and
"Recovery Count
The number of polling intervals a host must remain up before returning host to an up status and issuing a notice."
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

thanks a lot Phalek ;)
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

i have another question.
if i change poller interval time from 5minute to 1 minute it will cause a problem?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: device state

Post by gandalf »

seighalani wrote:i have another question.
if i change poller interval time from 5minute to 1 minute it will cause a problem?
Yes. https://your-cacti-server/cacti/settings.php?tab=poller shows, that you will have to re-populate the poller cache. But more: each rrd file is directly tied to a "specific" polling interval! There's the "step" and the "heartbeat" value; and both of them CAN'T BE CHANGED! So you will have to delete all rrd files, loosing all historical data, when changing the poller interval!
R.
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

then what should i do for this bad delay? i decreased Failure Count and Recovery count but was slow yet and took 5minute .
in solarwinds( for example in performance monitor) it changes status of nodes quickly. :(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: device state

Post by gandalf »

The status changes only when the poller runs (e.g. every 5 min). And there's a retry count, see "Settings", that avoids the status toggling up and down
R.
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

hi again

you mean settings> general> SNMP Retries ??
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: device state

Post by gandalf »

No, I mean the settings that have already been mentioned some posts before ...
R.
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

but decreasing of failure count and recovery count didnt help me.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: device state

Post by phalek »

What is it that you atcually want to accomplish ? What are your requirements ?

Maybe the function you're looking for can be added with an existing plugin.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
seighalani
Posts: 23
Joined: Sat Jul 28, 2012 10:33 am

Re: device state

Post by seighalani »

hi

i want to see my graphs real time. i mean i want to see their status real time. in devices cacti shows status of devices slowly (around 5minute).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest