Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Aug 20, 2017 3:05 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Wed Feb 18, 2009 10:53 am 
Offline

Joined: Mon Feb 09, 2009 12:49 pm
Posts: 41
How do people work out which value means what?

I have just tried this template and I get

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.43.11.1.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2009 4:43 am 
Offline

Joined: Mon Feb 09, 2009 12:49 pm
Posts: 41
Could somebody confirm that I need to do the following please.


Code:
printer_supply

Copy to my /resource/snmp_queries

Code:
cacti_host_template_snmp_printer
cacti_graph_template_host_mib_total_printed_pages
cacti_graph_template_host_mib_available_printer_supply
cacti_data_template_host_mib_get_printer_total_pages
cacti_data_template_host_mib_get_printer_supply

Are imported through Import Templates

Code:
cacti_data_query_snmp_get_printer_supply

Where does this one need to go

I know they are basic questions but I can not find any post on here that explains How-To for a first time attempt.

I will learn honest


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 4:46 pm 
Offline

Joined: Mon Feb 09, 2009 12:49 pm
Posts: 41
why has nobody answered this?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 01, 2009 3:40 pm 
Offline

Joined: Mon Feb 09, 2009 12:49 pm
Posts: 41
I dont understand wht I do not get any replies, did I do something wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 06, 2010 8:07 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
I know this threads quite old but I started looking at this template today, trying to get it to work against an epson c2800.

chet - this is forum, theres never a guaranteed reply.
cacti_data_query_snmp_get_printer_supply is an xml file that should also be imported I believe

and your snmp query is returning nothing. In my examination, I found that theres too many .1's in the OID for me. so edit the printer_supply.xml file and clean it up. Use snmpwalk from the snmp tools to test first so you can see what the correct OIDs are.

That said, although my verbose output shows the correct values, I'm getting failures myself, so I need to look myself some more.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 06, 2010 9:33 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
Hmmm... so the verbose output looks ok (with a .1 removed from the index), but I'm getting an invalid "Result from SNMP not valid. Partial Result:" error in the logs...

Quote:
+ Running data query [26].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.43.11.1.1'
+ Located input field 'prtMarkersSupplyIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1'
+ Found item [prtMarkersSupplyIndex='1'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='2'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='0'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='0'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='Toner Cartridge 1158/1162'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='Toner Cartridge 1159/1163'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='Toner Cartridge 1160/1164'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='Toner Cartridge 1161/1165'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='Fuser Unit 3026/3025'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='Transfer Unit 3024'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='100'] index: 6 [from value]
+ Found item [prtMarkersSupplyIndex='85'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='86'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='83'] index: 3 [from value]
+ Found item [prtMarkersSupplyIndex='97'] index: 4 [from value]
+ Found item [prtMarkersSupplyIndex='97'] index: 5 [from value]
+ Found item [prtMarkersSupplyIndex='97'] index: 6 [from value]
+ Located input field 'prtMarkersSupplyDesc' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1.6'
+ Found item [prtMarkersSupplyDesc='Toner Cartridge 1158/1162'] index: 1 [from value]
+ Found item [prtMarkersSupplyDesc='Toner Cartridge 1159/1163'] index: 2 [from value]
+ Found item [prtMarkersSupplyDesc='Toner Cartridge 1160/1164'] index: 3 [from value]
+ Found item [prtMarkersSupplyDesc='Toner Cartridge 1161/1165'] index: 4 [from value]
+ Found item [prtMarkersSupplyDesc='Fuser Unit 3026/3025'] index: 5 [from value]
+ Found item [prtMarkersSupplyDesc='Transfer Unit 3024'] index: 6 [from value]
+ Located input field 'prtMarkersSupplyUnits' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1.7'
+ Found item [prtMarkersSupplyUnits='4'] index: 1 [from value]
+ Found item [prtMarkersSupplyUnits='4'] index: 2 [from value]
+ Found item [prtMarkersSupplyUnits='4'] index: 3 [from value]
+ Found item [prtMarkersSupplyUnits='4'] index: 4 [from value]
+ Found item [prtMarkersSupplyUnits='4'] index: 5 [from value]
+ Found item [prtMarkersSupplyUnits='4'] index: 6 [from value]
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 06, 2010 9:46 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
Heres the manual SNMPwalk

Quote:
C:\Documents and Settings\marsh>snmpwalk -v1 -c public epsonc2800 .1.3.6.1.2.1.
43.11.1.1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.1 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.2 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.3 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.4 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.5 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.2.1.6 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.3.1.1 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.3.1.2 = INTEGER: 2
SNMPv2-SMI::mib-2.43.11.1.1.3.1.3 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.3.1.4 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.3.1.5 = INTEGER: 0
SNMPv2-SMI::mib-2.43.11.1.1.3.1.6 = INTEGER: 0
SNMPv2-SMI::mib-2.43.11.1.1.4.1.1 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.4.1.2 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.4.1.3 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.4.1.4 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.4.1.5 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.4.1.6 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.5.1.1 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.5.1.2 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.5.1.3 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.5.1.4 = INTEGER: 3
SNMPv2-SMI::mib-2.43.11.1.1.5.1.5 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.5.1.6 = INTEGER: 1
SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = STRING: "Toner Cartridge 1158/1162"
SNMPv2-SMI::mib-2.43.11.1.1.6.1.2 = STRING: "Toner Cartridge 1159/1163"
SNMPv2-SMI::mib-2.43.11.1.1.6.1.3 = STRING: "Toner Cartridge 1160/1164"
SNMPv2-SMI::mib-2.43.11.1.1.6.1.4 = STRING: "Toner Cartridge 1161/1165"
SNMPv2-SMI::mib-2.43.11.1.1.6.1.5 = STRING: "Fuser Unit 3026/3025"
SNMPv2-SMI::mib-2.43.11.1.1.6.1.6 = STRING: "Transfer Unit 3024"
SNMPv2-SMI::mib-2.43.11.1.1.7.1.1 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.7.1.2 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.7.1.3 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.7.1.4 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.7.1.5 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.7.1.6 = INTEGER: 4
SNMPv2-SMI::mib-2.43.11.1.1.8.1.1 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.8.1.2 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.8.1.3 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.8.1.4 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.8.1.5 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.8.1.6 = INTEGER: 100
SNMPv2-SMI::mib-2.43.11.1.1.9.1.1 = INTEGER: 85
SNMPv2-SMI::mib-2.43.11.1.1.9.1.2 = INTEGER: 86
SNMPv2-SMI::mib-2.43.11.1.1.9.1.3 = INTEGER: 83
SNMPv2-SMI::mib-2.43.11.1.1.9.1.4 = INTEGER: 97
SNMPv2-SMI::mib-2.43.11.1.1.9.1.5 = INTEGER: 97
SNMPv2-SMI::mib-2.43.11.1.1.9.1.6 = INTEGER: 97


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 06, 2010 9:52 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
Why isn't the verbose output showing prtMarkersSupplyUsed ??

I'm trying now to change the XML to :

Code:
<interface>
        <name>Get Printer Supply Information</name>
        <index_order_type>numeric</index_order_type>
        <oid_index>.1.3.6.1.2.1.43.11.1.1.2</oid_index>

        <fields>
                <prtMarkersSupplyIndex>
                        <name>Index</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.2.1.43.11.1.1.2</oid>
                </prtMarkersSupplyIndex>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 06, 2010 11:21 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
hmm.. that didn't work. For some reason prtMarkersSupplyUsed/.1.3.6.1.2.1.43.11.1.1.9 isn't being retrieved.

I'm using the XML files from the top post.


Top
 Profile  
 
 Post subject: Re: SNMP Printer Template
PostPosted: Thu Dec 09, 2010 12:13 am 
Offline

Joined: Thu Dec 09, 2010 12:09 am
Posts: 1
So I too am having problems with this. I have a Dell printer and am trying to create a graph with total # of pages printed which can be seen here with snmpwalk
iso.3.6.1.2.1.43.10.2.1.4.1.1 = Counter32: 2587

I have set the Data Temple>Get Printer Total Pages data source type to GAUGE
I have deleted the RRD file
Then I wait until there is some data, but all my graphs either show 0 (thru weekly) or -nan (month, year)

Any suggestions on what I've done wrong?
Thanks much.


Top
 Profile  
 
 Post subject: Re: SNMP Printer Template
PostPosted: Fri Dec 10, 2010 8:27 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Please follow 2nd link of my sig to get closer
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re:
PostPosted: Mon Jun 27, 2011 2:36 pm 
Offline

Joined: Wed Jan 28, 2009 5:54 am
Posts: 1
chet wrote:
How do people work out which value means what?

I have just tried this template and I get

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.43.11.1.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/printer_supply.xml'

Thanks


If you see something like this, make sure that permissions to file printer_supply.xml are global readable.
To fix, do:

Code:
[email protected]:/usr/share/cacti/resource/snmp_queries# chmod 644 printer_supply.xml


Top
 Profile  
 
 Post subject: Re: SNMP Printer Template
PostPosted: Tue Mar 13, 2012 5:37 am 
Offline

Joined: Tue Mar 13, 2012 3:43 am
Posts: 1
Hi,

i'm using cacti on eyes of network v3.0

Trying to get the total pages printed on a graph, like many have asked on the thread before.
I use the plugings posted by the OP.

I tried several things that i saw in the 4 pages (setting on GAUGE, using rrdcleaner) but i'm really at a lost here. Has there been any "advances" in the area ?
I get that i need to use the "sum" function of cacti but i need to get rid of this incoherent vertical axis problem first.

Obviously i'm a noob but i have to complete this task very in a matter of hours, there is too many stuff to learn in too little time :p

What i get:
Image

I'm supposed to to display the total printed pages.

Any help greatly appreciated :)))))


Top
 Profile  
 
 Post subject: Re: SNMP Printer Template
PostPosted: Thu Mar 15, 2012 9:25 am 
Offline

Joined: Tue Oct 19, 2010 1:54 am
Posts: 10
hi there, I too am having a problem with this. I am getting 0's for the Supplies in graphs.
the query debug information i am gatting is:-
Quote:
+ Running data query [20].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.43.11.1.1'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.2.1.1' value: '1'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.2.1.2' value: '1'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.3.1.1' value: '0'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.3.1.2' value: '0'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.4.1.1' value: '3'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.4.1.2' value: '4'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.5.1.1' value: '3'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.5.1.2' value: '4'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.6.1.1' value: 'Toner Container'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.6.1.2' value: 'Waste Toner Box'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.7.1.1' value: '7'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.7.1.2' value: '7'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.8.1.1' value: '15000'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.8.1.2' value: '-2'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.9.1.1' value: '11250'
+ Index found at OID: '1.3.6.1.2.1.43.11.1.1.9.1.2' value: '-3'
+ Located input field 'prtMarkersSupplyIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1'
+ Found item [prtMarkersSupplyIndex='1'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='1'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='0'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='0'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='3'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='4'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='Toner Container'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='Waste Toner Box'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='7'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='7'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='15000'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='-2'] index: 2 [from value]
+ Found item [prtMarkersSupplyIndex='11250'] index: 1 [from value]
+ Found item [prtMarkersSupplyIndex='-3'] index: 2 [from value]
+ Located input field 'prtMarkersSupplyDesc' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1.6'
+ Found item [prtMarkersSupplyDesc='Toner Container'] index: 1 [from value]
+ Found item [prtMarkersSupplyDesc='Waste Toner Box'] index: 2 [from value]
+ Located input field 'prtMarkersSupplyUnits' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.43.11.1.1.7'
+ Found item [prtMarkersSupplyUnits='7'] index: 1 [from value]
+ Found item [prtMarkersSupplyUnits='7'] index: 2 [from value]
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/printer_supply.xml'


So i know values are coming back.
Any ideas?

thanks


Top
 Profile  
 
 Post subject: Re: SNMP Printer Template
PostPosted: Wed Mar 21, 2012 4:42 am 
Offline
Cacti Guru User

Joined: Thu Aug 05, 2010 2:04 am
Posts: 1573
Location: Japan
Try adding the following line to terziyski's printer_supply.xml
Code:
<oid_index_parse>OID/REGEXP:.*\.([0-9]+)$</oid_index_parse>

and modify <prtMarkersSupplyIndex> like this:
Code:
<prtMarkersSupplyIndex>
   <name>Index</name>
   <source>index</source>
   <direction>input</direction>
</prtMarkersSupplyIndex>

Attachment:
printer_supply.xml [1.17 KiB]
Downloaded 722 times


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group