host monitoring?
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: host monitoring?
OK - so which of traffic_in and traffic_out are you going to use to decide if an interface is up or down, and why? Are you just going to say if there there is 0 traffic, the interface must be down?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: host monitoring?
Good Day,
I know I'm late, but i have a problem with host status.
SW1 is up and SW2 is down so the icon is correct, but why the LABEL is both up?
Below is my config
NODE node09115
LABEL SW1
LABELOFFSET N
ICON images/layer2switch_{node:this:state}.png
TARGET cactihost:14
POSITION node07617 43r250
NODE node04205
LABEL SW2
LABELOFFSET N
TARGET cactihost:70
ICON images/layer2switch_{node:this:state}.png
POSITION 936 110
I want to know the status of host based on ICON not LABEL.
Thanks,
I know I'm late, but i have a problem with host status.
SW1 is up and SW2 is down so the icon is correct, but why the LABEL is both up?
Below is my config
NODE node09115
LABEL SW1
LABELOFFSET N
ICON images/layer2switch_{node:this:state}.png
TARGET cactihost:14
POSITION node07617 43r250
NODE node04205
LABEL SW2
LABELOFFSET N
TARGET cactihost:70
ICON images/layer2switch_{node:this:state}.png
POSITION 936 110
I want to know the status of host based on ICON not LABEL.
Thanks,
- Attachments
-
- host status.png (3.91 KiB) Viewed 1080 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: host monitoring?
The label doesn't say up, it's just green, based on the SCALE that is defined. All weathermap does is translate numbers into colours! It doesn't know what is up or down
So, from the manual, you know that 1==down and 3==up for Cacti host status. There is also an example scale to use, there:
and then you just need to add
to your nodes.
So, from the manual, you know that 1==down and 3==up for Cacti host status. There is also an example scale to use, there:
Code: Select all
SCALE cactiupdown 0 0.5 192 192 192
SCALE cactiupdown 0.5 1.5 255 0 0
SCALE cactiupdown 1.5 2.5 0 0 255
SCALE cactiupdown 2.5 3.5 0 255 0
SCALE cactiupdown 4.5 5.5 128 128 128
Code: Select all
USESCALE cactiupdown in
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: host monitoring?
Thanks Howie, maybe I'll stick with the label being green
Who is online
Users browsing this forum: No registered users and 0 guests