Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


SuperMicro SuperoDoctor sensors -- update June 21, 2009
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Thu Feb 02, 2006 4:09 pm    Post subject: SuperMicro SuperoDoctor sensors -- update June 21, 2009 Reply with quote

I have been working to get different kinds of hardware monitoring working in a consistent manner. This is the SuperMicro SuperoDoctor sensors package.

Here is what the final result looks like for one of my systems, and shows the fan speeds, thermal probe temperatures, and voltage levels for all of the available sensors on that server:



There are some caveats here. Obviously, you must have the Superodoctor SNMP extensions installed and working. I have tested this with SuperoDoctor III running on Windows Server 2003 (using native SNMP extensions) and SuperoDoctor II on Linux (using net-snmp extensions) and both seem to work fine.

--> see this page for the tarball and instructions <--


Last edited by ehall on Tue Jun 23, 2009 11:20 am; edited 12 times in total
Back to top
ivanp



Joined: 26 Jun 2006
Posts: 3

PostPosted: Mon Jun 26, 2006 9:11 am    Post subject: Reply with quote

Which SuperMicro model is this template for?
From my experience (with MRTG and supermicro superodoctors) OID-s vary from model to model (as some have 10 fans, other 2, etc).

Edit: Ignore my incompetence - I am new to cacti
I saw it reads and determinates available monitoring items - very nice!
Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Sat Feb 10, 2007 11:40 am    Post subject: Reply with quote

The posted update contains a fix that converts the SNMP timeout value from Cacti's millisecond format to PHP/Net-SNMP microsecond format. The lack of conversion in the earlier script would sometimes result in excessive retries or complete failure.
Back to top
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 372
Location: Emeryville, CA

PostPosted: Wed Apr 11, 2007 4:44 pm    Post subject: Reply with quote

THanks for these great scripts, I have a little problem though. I copied the XML from Script_queries to the script_queries folder, the scripts to the scripts folder, and i imported the templates into Cacti, but one of the templates (cacti_graph_template_sensors_supermicro_fan_sensors_8x.xml) gave me some errors: Unmet Dependencies (See Pic). I assume that it is because of this that my fan and termal sensor graphs are not working.

Any thoughts?

Thanks for the help

app



unmet dependency.PNG
 Description:
 Filesize:  100.47 KB
 Viewed:  14369 Time(s)

unmet dependency.PNG


Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Thu Apr 12, 2007 10:56 am    Post subject: Reply with quote

Cacti does not seem to export GPRINT definitions, so you will need to manually create the missing GPRINT preset.

Click on the Graph Management cacti menu item, and then click on the (new) GPRINT Presets sub-menu underneath. Create a GPRINT Preset with the exact name of "Exact Numbers" and the GPRINT Text value of "%8.0lf". That should allow the graph templates to be imported successfully.
Back to top
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 372
Location: Emeryville, CA

PostPosted: Thu Apr 12, 2007 10:59 am    Post subject: Reply with quote

hmmm, that GPRINT Preset was already there. Any other thoughts? In looking at what happens on the import, the GPRINT shows good, but the unmet dependencies appear to be on Data Template Items. Am i doing this right? I just import the 7 XML templates, correct?

app
Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Thu Apr 12, 2007 12:40 pm    Post subject: Reply with quote

The tarball contains cacti_data_template_* files so it should be working. Did you import those before you imported the graph templates?

I don't have any ideas beyond that--there doesn't appear to be any hard dependencies in the graph templates so it should be working.
Back to top
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 372
Location: Emeryville, CA

PostPosted: Thu Apr 12, 2007 12:55 pm    Post subject: Reply with quote

hmmm, yeah, imported all the data templates before the graph templates. Maybe i will just go through all the steps again.

Thanks for the help

app
Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Thu Apr 12, 2007 7:46 pm    Post subject: Reply with quote

I noticed the tarball did not have the default 1X graph templates so I rebuilt the tarball. This shouldn't have been the cause of your problem but who knows.
Back to top
ivanp



Joined: 26 Jun 2006
Posts: 3

PostPosted: Tue May 15, 2007 10:03 am    Post subject: Reply with quote

I am having the same problem as apperrault from above post with the screenshot when importing. I tried both cacti 0.8.6i and 0.8.6j versions - no difference.

Single graphs work just fine for me, but I can't get the 8x versions to work. I am thinking I am doing something incorrectly. Here is what I do:
uppon 'devices' I select the desired host, then at "associated graph templates" I add the supermicro (8x) templates (fan/voltage/thermal), then "create graphs for this host" highlight the new "sensors - supermicro ..." graph templates, click create button at the bottom.
However I always get broken image for that graph.

Any help will me much appreciated!

Ivan
Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Tue Mar 31, 2009 12:00 pm    Post subject: Reply with quote

I uploaded a new version that should work with both Cacti 0.8.6 and 0.8.7 and should also support the SNMPv3 stuff in 0.8.7.
Back to top
john_d13



Joined: 17 Mar 2008
Posts: 37

PostPosted: Fri Apr 17, 2009 8:37 am    Post subject: Reply with quote

have you got it working with windows ?

I have a win 2008 server x64 box and when i enable the snmp support with supero doctor III I am unable to query/snmpwalk to the box at ALL now. I uninstall supero and its all fine
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 15639
Location: Muenster, Germany

PostPosted: Sat Apr 18, 2009 6:09 am    Post subject: Reply with quote

ehall wrote:
I uploaded a new version that should work with both Cacti 0.8.6 and 0.8.7 and should also support the SNMPv3 stuff in 0.8.7.
Thanks for posting this. We now encourage contributors to publish their work at the central cacti repository at http://docs.cacti.net/templates
Reinhard
Back to top
ehall
Cacti User


Joined: 09 Dec 2005
Posts: 237

PostPosted: Sat Apr 18, 2009 4:11 pm    Post subject: Reply with quote

john_d13 wrote:
have you got it working with windows ?

I have a win 2008 server x64 box and when i enable the snmp support with supero doctor III I am unable to query/snmpwalk to the box at ALL now. I uninstall supero and its all fine

I had it working with superodoctor III on Windows to make sure the OIDs were the same, but I haven't tried again in the past couple of years. I'd email Supermicro support about the conflict you are having, they have always been nice to me.
Back to top
john_d13



Joined: 17 Mar 2008
Posts: 37

PostPosted: Wed Apr 22, 2009 9:49 am    Post subject: Reply with quote

I got it working yay
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group