[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    Re: [opennms-discuss] printer poweroncount lifecount
From:       "Fuhrmann, Marcel" <Marcel.Fuhrmann () lux ! ag>
Date:       2012-10-23 8:11:07
Message-ID: 499A022E4D81174E9B1758868703A03D2786A882 () SRV-EXC02 ! tclsg ! local
[Download RAW message or body]

Hi Luca,

does a datacollection group exist for Toshiba printers? I needed to configure a \
datacollection group for my Konica printers.

/etc/opennms/datacollection/konica.xml
<?xml version="1.0"?>
<datacollection-group name="Konica">

      <systemDef name="Konica Minolta Network Printer">
        <sysoidMask>.1.3.6.1.4.1.18334.1.1.1.2.1</sysoidMask>
        <collect>
          <includeGroup>printer-usage</includeGroup>
          <includeGroup>printer-mib-supplies</includeGroup>
          <includeGroup>mib2-host-resources-storage</includeGroup>
        </collect>
      </systemDef>
</datacollection-group>


--
Marcel



Von: Luca Pedocchi [mailto:luca@pedocchi-ristori.it]
Gesendet: Dienstag, 23. Oktober 2012 09:36
An: General OpenNMS Discussion
Betreff: [opennms-discuss] printer poweroncount lifecount

Hi all. I have several printers monitored by OpnNMS. Some of them show in the \
resource graph the two items mib2printer.powerOnCount and mib2printer.lifeCount, some \
not. One of the printers not showing them is a Toshiba e-studio 555, but if I make a \
proper snmp query for the SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 item, I get the page \
count. So, is there a way to force opennms to recognize the printer as an object able \
to be queried for the SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 item? Thanks for any help
                     Luca
--

Luca Pedocchi

e-mail luca@pedocchi-ristori.it<mailto:luca@pedocchi-ristori.it>
cell. +39 335 1771078


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:682585230;
	mso-list-type:hybrid;
	mso-list-template-ids:612957174 -1550286126 67567619 67567621 67567617 67567619 \
67567621 67567617 67567619 67567621;} @list l0:level1
	{mso-level-start-at:4;
	mso-level-number-format:bullet;
	mso-level-text:\F06E;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi \
Luca,<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">does \
a datacollection group exist for Toshiba printers? I needed to configure a \
datacollection group for my Konica printers. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
lang="EN-US">/etc/opennms/datacollection/konica.xml<o:p></o:p></span></p> <p \
class="MsoNormal"><b><span lang="EN-US" style="color:black">&lt;?xml</span></b><span \
lang="EN-US" style="color:#009900"> </span><span lang="EN-US" \
style="color:#000066">version</span><span lang="EN-US" \
style="color:#009900">=</span><span lang="EN-US" \
style="color:red">&quot;1.0&quot;</span><b><span lang="EN-US" \
style="color:black">?&gt;</span></b><span lang="EN-US"><br> <b><span \
style="color:black">&lt;datacollection-group</span></b><span style="color:#009900"> \
</span><span style="color:#000066">name</span><span \
style="color:#009900">=</span><span \
style="color:red">&quot;Konica&quot;</span><b><span \
style="color:black">&gt;</span></b><br> <br>
&nbsp; &nbsp; &nbsp; <b><span style="color:black">&lt;systemDef</span></b><span \
style="color:#009900"> </span><span style="color:#000066">name</span><span \
style="color:#009900">=</span><span style="color:red">&quot;Konica Minolta Network \
Printer&quot;</span><b><span style="color:black">&gt;</span></b><br> &nbsp; &nbsp; \
&nbsp; &nbsp; <b><span \
style="color:black">&lt;sysoidMask&gt;</span></b>.1.3.6.1.4.1.18334.1.1.1.2.1<b><span \
style="color:black">&lt;/sysoidMask&gt;</span></b><br> &nbsp; &nbsp; &nbsp; &nbsp; \
<b><span style="color:black">&lt;collect&gt;</span></b><br> &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; <b><span \
style="color:black">&lt;includeGroup&gt;</span></b>printer-usage<b><span \
style="color:black">&lt;/includeGroup&gt;</span></b><br> &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; <b><span style="color:black">&lt;includeGroup&gt;</span></b>printer-mib-supplies<b><span \
style="color:black">&lt;/includeGroup&gt;</span></b><br> &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; <b><span style="color:black">&lt;includeGroup&gt;</span></b>mib2-host-resources-storage<b><span \
style="color:black">&lt;/includeGroup&gt;</span></b><br> &nbsp; &nbsp; &nbsp; &nbsp; \
<b><span style="color:black">&lt;/collect&gt;</span></b><br> &nbsp; &nbsp; &nbsp; \
<b><span style="color:black">&lt;/systemDef&gt;</span></b><br> <b><span \
style="color:black">&lt;/datacollection-group&gt;</span></b><o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">--<o:p></o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Marcel<o:p></o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Luca \
Pedocchi [mailto:luca@pedocchi-ristori.it] <br>
<b>Gesendet:</b> Dienstag, 23. Oktober 2012 09:36<br>
<b>An:</b> General OpenNMS Discussion<br>
<b>Betreff:</b> [opennms-discuss] printer poweroncount \
lifecount<o:p></o:p></span></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi all. I have several printers monitored by OpnNMS. Some of \
them show in the resource graph the two items mib2printer.powerOnCount and \
mib2printer.lifeCount, some not. One of the printers not showing them is a Toshiba \
e-studio 555, but  if I make a proper snmp query for the&nbsp;<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal">SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 item, I get the page \
count.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal">So, is there a way to force opennms to recognize the printer as \
an object able to be queried for the&nbsp;SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 \
item?<o:p></o:p></p> </div>
<div>
<p class="MsoNormal">Thanks for any help<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp;Luca<o:p></o:p></p> </div>
<p class="MsoNormal" style="margin-bottom:12.0pt">-- <o:p></o:p></p>
<div>
<p><span style="font-size:8.0pt;color:teal">Luca Pedocchi</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><span style="font-size:8.0pt;color:teal">e-mail <a \
href="mailto:luca@pedocchi-ristori.it" target="_blank"> \
luca@pedocchi-ristori.it</a><br> cell. &#43;39 335 1771078</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>


[Attachment #4 (--===============4822625218870474652==)]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic