Disable "Downed Host Detection" for one host?
Moderators: Developers, Moderators
Disable "Downed Host Detection" for one host?
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..
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
With this script:
everything I get is:
Code: Select all
<?php
$walk = snmpwalkoid("my IP....", "my community", "");
for (reset($walk ); $i = key($walk ); next($walk )) {
echo "$i: $walk[$i]<br />\n";
}
?>
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Jens,
What type of device is this that the "SysDesc" is not supported?
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
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
- Piotr
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest