I finally got my temperature sensor for the openmanage MIB working... I had
modified an existing simple discovery script to pull the status and add the
interface, but the main thing I was missing was the interface type fields
and the correct poller groups.  Once I corrected those, and set the correct
backend (RRD indiviual value) for the poller group item, I started getting
data in my graphs.

Now my only problem is a php function that inserts a decimal point.  I tried
number_format($value, 1) but that just adds a decimal and a zero to the end,
it doesn't insert the decimal like I need it to...

Example -

$value = 259
number_format($value, 1) returns 259.0

I need it to format as 25.9

Any ideas?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Small
Sent: Monday, January 23, 2006 3:40 PM
To: jffnms-users@lists.sourceforge.net
Subject: Re: [jffnms-users] Dell OpenManage

On Mon, Jan 23, 2006 at 09:41:45AM -0500, Ben Lentz wrote:
> 1.3.6.1.4.1.674.10892.1.200.10.1.2.1,1=other|2=unknown|3=ok|4=noncriti
> cal|5=critical|6=nonrecoverable that should return the overall status 
> of all chassis on an OpenManage system. If so much as one component 
> goes bad, this Chassis status OID should change values. This is 
> perfect, because if so much as a fan stops on one of the PowerEdges, I 
> want JFFNMS to email and page me.
Yes, you're using the SNMP status plugin, good!

> I've added this OID to JFFNMS under the Poller Items table, using 
> Poller Command set to snmp_status. Next, I set the snmp community 
> string for a Host object running OM, do a Manual Discovery w/o port 
> scan, but I still don't see my new OID. I must be missing something, and
something big.
It is called a discovery plugin.

> I've been through the Interface Types, Poller Grouping, and Poller 
> Backends tables several times, and I can't seem to find any way to 
> create a relationship to the new Poller Item I've created. I thought
Look in your newly created "Interface Type", what did you put in for the
columns:
  * Discovery Function (internal)
  * Discovery Default Poller

> engine/discovery directories, because everything was already written 
> for snmp interfaces and that custom code wasn't required... is this wrong?
> Is it entirely manual (write your own PHP [everything]?)
engine/discovery needs something, yes.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to