HMib> how to populate plugin_hmib_hrsystem ?
Moderators: Developers, Moderators
HMib> how to populate plugin_hmib_hrsystem ?
I've installed the hmib plugin configured it like the screen shot.
but after what must i do ?
the rescan OS type didn't show anything, the inventory discoverd all my host with Unknown as OS type.
wha's wrong ?
best regard,
Laurent
but after what must i do ?
the rescan OS type didn't show anything, the inventory discoverd all my host with Unknown as OS type.
wha's wrong ?
best regard,
Laurent
- Attachments
-
- img02.png (9.78 KiB) Viewed 5947 times
-
- img01.png (26.06 KiB) Viewed 5947 times
Cacti 0.8.7g - Windows - poller type : spine
php 5.2.14 - MySQL 5.1.47
php 5.2.14 - MySQL 5.1.47
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: HMib> how to populate plugin_hmib_hrsystem ?
The poller has to run at least once before the rescan will discover anything.
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?
Re: HMib> how to populate plugin_hmib_hrsystem ?
OK, so after rescan OS type, waiting for a poller, it's always the same thing, no OS types are discovered, my hosts are Unknown type even if they have Host MIB - Get Mounted Partitions or Host MIB - Get Processor Information data queries.
Cacti 0.8.7g - Windows - poller type : spine
php 5.2.14 - MySQL 5.1.47
php 5.2.14 - MySQL 5.1.47
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: HMib> how to populate plugin_hmib_hrsystem ?
What type of errors in your cacti log after a rescan? Search for a device type called 'Unknown'.
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?
Re: HMib> how to populate plugin_hmib_hrsystem ?
hello,
i think having found something.
in the poller_hmib;php script, the command
on line 555 returns this :
i think having found something.
in the poller_hmib;php script, the command
Code: Select all
$systemMib = cacti_snmp_walk($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1", $host["snmp_version"],
$host["snmp_username"], $host["snmp_password"],
$host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"],
$host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"],
read_config_option("snmp_retries"), $host["max_oids"], SNMP_VALUE_LIBRARY, SNMP_WEBUI);
Code: Select all
[1] => Array
(
[oid] => system.sysObjectID.0
[value] => OID: enterprises.311.1.1.3.1.2
)
[2] => Array
(
[oid] => system.sysUpTime.0
[value] => 648756059
)
[3] => Array
(
[oid] => system.sysContact.0
[value] =>
)
Cacti 0.8.7g - Windows - poller type : spine
php 5.2.14 - MySQL 5.1.47
php 5.2.14 - MySQL 5.1.47
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: HMib> how to populate plugin_hmib_hrsystem ?
Hmm. System Description missing. What types of hosts are these?
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?
Re: HMib> how to populate plugin_hmib_hrsystem ?
it is for all my hosts (windows 2003).
i've modify the script adding ".1.3.6.1.2.1." in the OID ($mib["oid"]) and so, every thing works !
i've modify the script adding ".1.3.6.1.2.1." in the OID ($mib["oid"]) and so, every thing works !
Cacti 0.8.7g - Windows - poller type : spine
php 5.2.14 - MySQL 5.1.47
php 5.2.14 - MySQL 5.1.47
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: HMib> how to populate plugin_hmib_hrsystem ?
That's a big of a problem in that it's getting the whole tree in multiple passes. What happens when you walk the 'original' OID from your browser? Also, what snmp version are you using?
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?
Re: HMib> how to populate plugin_hmib_hrsystem ?
Hi there, I got same problem, I rescan I got all unknown hosts, I just created a template RHEL for all version of Redhat, I rescan a few times and the new host were included in the OS definition but the first host that they were discover are unknown but I can't see again, could you tell where I can rescan again or force to check again the hosts OS.
thanks in advance
Edu
thanks in advance
Edu
- Attachments
-
- Capture.PNG (33.58 KiB) Viewed 5920 times
Thanks
Edu
Edu
Re: HMib> how to populate plugin_hmib_hrsystem ?
I add another image where you can see unknown hosts. I would like to rescan again or add these host to the correct OS template.
- Attachments
-
- Capture1.PNG (29.12 KiB) Viewed 5918 times
Thanks
Edu
Edu
Re: HMib> how to populate plugin_hmib_hrsystem ?
Hello. I don't mean to hijack the thread, but I'm not able to find too much information on my HMIB installation problem.
I have installed the plugin and configured it as documented.
I did see this error in the cacti logs during installation
I'm not sure if that is something to be worried about?
After cycle of polling I see that hmib has found 23 hosts:
But in the Console-->Management-->OS Types nothing is being discovered:
Hitting rescan button finds nothing.
I see the plugin_hmib_hrSystem table in my cacti DB, but none of the information is being populated.
I must be missing something. Any help would be greatly appreciated.
I have installed the plugin and configured it as documented.
I did see this error in the cacti logs during installation
Code: Select all
02/23/2016 08:51:35 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1061', SQL:"ALTER TABLE snmp_query_graph ADD INDEX snmp_query_id(snmp_query_id)'
02/23/2016 08:51:35 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1061', SQL:"ALTER TABLE snmp_query_graph ADD INDEX graph_template_id(graph_template_id)'
02/23/2016 08:51:35 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1061', SQL:"ALTER TABLE data_input_data ADD INDEX data_input_field_id(data_input_field_id)'
02/23/2016 08:51:35 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1061', SQL:"ALTER TABLE data_input_data ADD INDEX data_template_data_id(data_template_data_id)'
After cycle of polling I see that hmib has found 23 hosts:
But in the Console-->Management-->OS Types nothing is being discovered:
Hitting rescan button finds nothing.
I see the plugin_hmib_hrSystem table in my cacti DB, but none of the information is being populated.
I must be missing something. Any help would be greatly appreciated.
Re: HMib> how to populate plugin_hmib_hrsystem ?
Hello,
I have the same problem with my hmib plugin. I use version 2.0. No database errors.
OS Types are not recognized.
Cheers
Marcus
I have the same problem with my hmib plugin. I use version 2.0. No database errors.
OS Types are not recognized.
Cheers
Marcus
Who is online
Users browsing this forum: No registered users and 3 guests