smartBridges Device Monitoring
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your get's are your problem. That is what Cacti uses to obtain values for the graphs.
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:
Also, please note, your poller cache is lacking "action 1" which would be the perl scripts and please note the get's should be formatted as such:
perl <my script> get value index
Value is something like RfWhatchamacallit
Index in your specific case will always be 1 (aka Whalen)
TheWitness
perl <my script> get value index
Value is something like RfWhatchamacallit
Index in your specific case will always be 1 (aka Whalen)
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:
Well, look at your poller cache for the entries and make sure they end with the "1" as we had discussed.
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:
Forgot, you haven't created them it would appear, or they are damaged somehow.
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?
Thanks for your help...I didn't quite understand what you meant at first (I'm new to Cacti) but I think I know what you meant now...
Here is my poller cache as it sits now:
The graphs are showing up as broken links at the moment...I tried clearing the poller cache as well.
Here is my poller cache as it sits now:
So the poller cache looks good right now. If I go to "Devices", the device I am trying to monitor shows up as Down. I went into settings -> poller and changed "Downed Host Detection" to Ping to try and see if that fixed it, but no change...Data Source: Whalen airBridge - Wireless Port Statistics
RRD: /usr/local/share/cacti/rra/whalen_airbridge_wireless_tx_107.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get WirelessRx 1
Data Source: Whalen airBridge - Wireless Port Statistics
RRD: /usr/local/share/cacti/rra/whalen_airbridge_wireless_tx_107.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get WirelessTx 1
Data Source: Whalen airBridge - Ethernet Port Statistics
RRD: /usr/local/share/cacti/rra/whalen_airbridge_eth_tx_106.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get EthRx 1
Data Source: Whalen airBridge - Ethernet Port Statistics
RRD: /usr/local/share/cacti/rra/whalen_airbridge_eth_tx_106.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get EthTx 1
Data Source: Whalen airBridge - Wireless Level
RRD: /usr/local/share/cacti/rra/whalen_airbridge_media_rssi_105.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get MediaLinkQuality 1
Data Source: Whalen airBridge - Wireless Level
RRD: /usr/local/share/cacti/rra/whalen_airbridge_media_rssi_105.rrd
Action: 1, Script: /usr/local/bin/perl /usr/local/share/cacti/scripts/sb_cacti.pl 192.168.1.15 public get MediaRssi 1
The graphs are showing up as broken links at the moment...I tried clearing the poller cache as well.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
what happens if you set availability to SNMP only?
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 edit lib/ping.php line 353, or just look for "if (!$ping_result)" and change it to "if ($ping_result)" and then return TRUE on the next line, it will work with either or. Right now the behavior is that both ping and snmp must work.
This will change in 0.9.
TheWitness
NOTE: this is for avail ping & snmp.
This will change in 0.9.
TheWitness
NOTE: this is for avail ping & snmp.
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?
I edited the lib/ping.php file (line 353) to:
I am using Ping & SNMP right now, but the device shows up as down still.
Code: Select all
if ($ping_result)
return true;
I tried changing the ping type from UDP to ICMP as well, and that didnt change anything. I tried using root as the user that runs the poller.php too...
I also saw this when i tried to run the poller from the command prompt:
Any ideas?
I also saw this when i tried to run the poller from the command prompt:
Code: Select all
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.1.3.0
Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.1.3.0
Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.1.3.0
OK u:0.00 s:0.06 r:6.28
OK u:0.00 s:0.06 r:6.28
OK u:0.00 s:0.06 r:6.28
OK u:0.01 s:0.06 r:6.29
OK u:0.01 s:0.06 r:6.29
OK u:0.01 s:0.06 r:6.29
Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.1.3.0
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Good.
Also, please note that the following:
The other warnings are for hosts that do not contain the sysUpTime OID. That's not good because we use it for all sort's of things. I would track that one down and call the vendor to have them correct their agent.
TheWitness
Also, please note that the following:
Is resolved by the following patched files: http://www.cacti.net/downloads/patches/ ... re-patchedCannot find module (NONE): At line 0 in (none)
The other warnings are for hosts that do not contain the sysUpTime OID. That's not good because we use it for all sort's of things. I would track that one down and call the vendor to have them correct their agent.
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?
smart bridges radios SNMP implentation sucks.
<code>
# snmpget -v1 -c mycommunity myhost sysUptime
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-MIB::sysUpTime
# snmpwalk -v1 -c mycommunity myhost 1.3.6.1.4.1.410.1.2.3.1.0
Timeout: No Response from myhost
# snmpget -v1 -c mycommunity myhost 1.3.6.1.4.1.410.1.2.3.1.0
SNMPv2-SMI::enterprises.410.1.2.3.1.0 = Hex-STRING: FA 0A 0F 05 D7 AE 1C 00 89 6A 01 00 C1 28 5F 01
C3 DF 3F 03 00 00 00 00 EF 1F 00 00 56 51 41 03
45 D2 58 05 04 93 0A 00 00 00 00 00 BD FD 0F 05
49 21 00 00 00 00 00 00 31 C0 61 00 00 00 00 00
00 00 00 00 00 00 00 00 5C 01 00 00 3B 01 00 00
35 54 15 01 69 27 07 00
</code>
Oh and btw, that second one is the "packets transmitted" statistics. Gotta love people writing SNMP agents that don't even understand SNMP. Can't WALK anything, and it doesn't even respond to "sys"
<code>
# snmpget -v1 -c mycommunity myhost sysUptime
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-MIB::sysUpTime
# snmpwalk -v1 -c mycommunity myhost 1.3.6.1.4.1.410.1.2.3.1.0
Timeout: No Response from myhost
# snmpget -v1 -c mycommunity myhost 1.3.6.1.4.1.410.1.2.3.1.0
SNMPv2-SMI::enterprises.410.1.2.3.1.0 = Hex-STRING: FA 0A 0F 05 D7 AE 1C 00 89 6A 01 00 C1 28 5F 01
C3 DF 3F 03 00 00 00 00 EF 1F 00 00 56 51 41 03
45 D2 58 05 04 93 0A 00 00 00 00 00 BD FD 0F 05
49 21 00 00 00 00 00 00 31 C0 61 00 00 00 00 00
00 00 00 00 00 00 00 00 5C 01 00 00 3B 01 00 00
35 54 15 01 69 27 07 00
</code>
Oh and btw, that second one is the "packets transmitted" statistics. Gotta love people writing SNMP agents that don't even understand SNMP. Can't WALK anything, and it doesn't even respond to "sys"
Who is online
Users browsing this forum: No registered users and 0 guests