Disable "Downed Host Detection" for one host?

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

Moderators: Developers, Moderators

Post Reply
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Disable "Downed Host Detection" for one host?

Post by Jtb »

Hi,

I need to disable the "Downed Host Detection" for one host.. It is my internet router and it seems that I don't have enough rights to do the snmp-Check..
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Clear the SNMP Community string for the host and it will be disabled from a SNMP perspective. Your availability method should be SNMP Ping only however.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Post by Jtb »

TheWitness wrote:Clear the SNMP Community string for the host and it will be disabled from a SNMP perspective. Your availability method should be SNMP Ping only however.
but I want monitoring over SNMP (Traffic)..
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you don't have enough permission to poll the host with SNMP, then you won't be able to get to any other counters then. So clearing the SNMP community string for that host should have not affect.

Or are you performing ICMP pings?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Post by Jtb »

It seems that my communitystring has only permissions on the network-interface and nowhere else..
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Are you sure. Use Getif and perform a walk of the tree and let me know the results. The OID that is being polled is the "SysDesc" which would normally not be locked down.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Post by Jtb »

With this script:

Code: Select all

<?php 
$walk = snmpwalkoid("my IP....", "my community", ""); 

for (reset($walk ); $i = key($walk ); next($walk )) {
echo "$i: $walk[$i]<br />\n";
}
?>
everything I get is:
interfaces.ifTable.ifEntry.ifIndex.1: 1
interfaces.ifTable.ifEntry.ifIndex.2: 2
interfaces.ifTable.ifEntry.ifIndex.3: 3
interfaces.ifTable.ifEntry.ifDescr.1: Ethernet0
interfaces.ifTable.ifEntry.ifDescr.2: Serial0
interfaces.ifTable.ifEntry.ifDescr.3: Null0
interfaces.ifTable.ifEntry.ifType.1: ethernetCsmacd(6)
interfaces.ifTable.ifEntry.ifType.2: propPointToPointSerial(22)
interfaces.ifTable.ifEntry.ifType.3: other(1)
interfaces.ifTable.ifEntry.ifMtu.1: 1500
interfaces.ifTable.ifEntry.ifMtu.2: 1500
interfaces.ifTable.ifEntry.ifMtu.3: 1500
interfaces.ifTable.ifEntry.ifSpeed.1: Gauge32: 10000000
interfaces.ifTable.ifEntry.ifSpeed.2: Gauge32: 2048000
interfaces.ifTable.ifEntry.ifSpeed.3: Gauge32: 4294967295
interfaces.ifTable.ifEntry.ifPhysAddress.1: 0:7:e:e5:4b:11
interfaces.ifTable.ifEntry.ifPhysAddress.2:
interfaces.ifTable.ifEntry.ifPhysAddress.3:
interfaces.ifTable.ifEntry.ifAdminStatus.1: up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.2: up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.3: up(1)
interfaces.ifTable.ifEntry.ifOperStatus.1: up(1)
interfaces.ifTable.ifEntry.ifOperStatus.2: up(1)
interfaces.ifTable.ifEntry.ifOperStatus.3: up(1)
interfaces.ifTable.ifEntry.ifLastChange.1: Timeticks: (1630) 0:00:16.30
interfaces.ifTable.ifEntry.ifLastChange.2: Timeticks: (3418715118) 395 days, 16:25:51.18
interfaces.ifTable.ifEntry.ifLastChange.3: Timeticks: (0) 0:00:00.00
interfaces.ifTable.ifEntry.ifInOctets.1: Counter32: 39316313
interfaces.ifTable.ifEntry.ifInOctets.2: Counter32: 830520587
interfaces.ifTable.ifEntry.ifInOctets.3: Counter32: 0
interfaces.ifTable.ifEntry.ifInUcastPkts.1: Counter32: 196869775
interfaces.ifTable.ifEntry.ifInUcastPkts.2: Counter32: 231842103
interfaces.ifTable.ifEntry.ifInUcastPkts.3: Counter32: 0
interfaces.ifTable.ifEntry.ifInNUcastPkts.1: Counter32: 36494
interfaces.ifTable.ifEntry.ifInNUcastPkts.2: Counter32: 1207000
interfaces.ifTable.ifEntry.ifInNUcastPkts.3: Counter32: 0
interfaces.ifTable.ifEntry.ifInDiscards.1: Counter32: 82
interfaces.ifTable.ifEntry.ifInDiscards.2: Counter32: 99
interfaces.ifTable.ifEntry.ifInDiscards.3: Counter32: 0
interfaces.ifTable.ifEntry.ifInErrors.1: Counter32: 1637
interfaces.ifTable.ifEntry.ifInErrors.2: Counter32: 3578058
interfaces.ifTable.ifEntry.ifInErrors.3: Counter32: 0
interfaces.ifTable.ifEntry.ifInUnknownProtos.1: Counter32: 111
interfaces.ifTable.ifEntry.ifInUnknownProtos.2: Counter32: 48
interfaces.ifTable.ifEntry.ifInUnknownProtos.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutOctets.1: Counter32: 2440076002
interfaces.ifTable.ifEntry.ifOutOctets.2: Counter32: 2537582150
interfaces.ifTable.ifEntry.ifOutOctets.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutUcastPkts.1: Counter32: 218036976
interfaces.ifTable.ifEntry.ifOutUcastPkts.2: Counter32: 198012999
interfaces.ifTable.ifEntry.ifOutUcastPkts.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutNUcastPkts.1: Counter32: 10578325
interfaces.ifTable.ifEntry.ifOutNUcastPkts.2: Counter32: 607904
interfaces.ifTable.ifEntry.ifOutNUcastPkts.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutDiscards.1: Counter32: 60
interfaces.ifTable.ifEntry.ifOutDiscards.2: Counter32: 66195
interfaces.ifTable.ifEntry.ifOutDiscards.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutErrors.1: Counter32: 15
interfaces.ifTable.ifEntry.ifOutErrors.2: Counter32: 0
interfaces.ifTable.ifEntry.ifOutErrors.3: Counter32: 0
interfaces.ifTable.ifEntry.ifOutQLen.1: Gauge32: 0
interfaces.ifTable.ifEntry.ifOutQLen.2: Gauge32: 0
interfaces.ifTable.ifEntry.ifOutQLen.3: Gauge32: 0
interfaces.ifTable.ifEntry.ifSpecific.1: OID: .ccitt.zeroDotZero
interfaces.ifTable.ifEntry.ifSpecific.2: OID: .ccitt.zeroDotZero
interfaces.ifTable.ifEntry.ifSpecific.3: OID: .ccitt.zeroDotZero
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Jens,

What type of device is this that the "SysDesc" is not supported?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Post by Jtb »

TheWitness wrote:Jens,

What type of device is this that the "SysDesc" is not supported?
Cisco 1601 R :)
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Jens,

A Cisco 1601 should respond to a request for SysDesc OID. Can you do an SNMP get for that OID and post the response.

Thanks,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Jens stated "It seems that my communitystring has only permissions on the network-interface and nowhere else.". This means he has the access for "interfaces" subtree in MIB only. Such restriction can be easily done per SNMP community in Cisco config. If that's the case then he will not be able to poll objects from "system" subtree for example "system.sysDescr.0".

- Piotr
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Thanks for the clarification bulek. Sounds like Jens should be requesting access to system. It is harmless enough subtree. It also sounds like what Ian refers to as a "corner case".

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Jtb
Posts: 30
Joined: Thu Aug 19, 2004 8:13 am
Location: Germany
Contact:

Post by Jtb »

TheWitness wrote:Thanks for the clarification bulek. Sounds like Jens should be requesting access to system. It is harmless enough subtree. It also sounds like what Ian refers to as a "corner case".
It was a rough "fight" with my provider to simply get access to the interface-stats...
Jens
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Looser all of them... (Oh bytb, who is your supplier??). Jens, I also sent you a note on a separate thread. Hope you can help...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests