| Line 1: |
Line 1: |
| | == HP E710 Munin plugins == | | == HP E710 Munin plugins == |
| | | | |
| − | With later devices HP has removed some of the useful SNMP accessible OIDs and moved to an xml based approach. Whilst more flexible this requires additional steps to make the information available via Munin plugins. | + | The following Munin plugins support the reporting of statistics for HP e710 series printers. |
| | + | |
| | + | With later devices HP has removed some of the useful SNMP accessible OIDs and moved to an XML based approach. Whilst more flexible this requires additional steps to make the information available via Munin plugins. |
| | | | |
| | | | |
| Line 124: |
Line 126: |
| | $ua->timeout(30); | | $ua->timeout(30); |
| | $ua->agent('Mozilla/5.0'); | | $ua->agent('Mozilla/5.0'); |
| − | #$ua->proxy('http','http://localhost:1080/'); | + | #$ua->proxy('http','http://localhost:3128/'); |
| | my $request = new HTTP::Request('GET', $url); | | my $request = new HTTP::Request('GET', $url); |
| | my $response = $ua->request($request); | | my $response = $ua->request($request); |
| Line 163: |
Line 165: |
| | $ua->agent('Mozilla/5.0'); | | $ua->agent('Mozilla/5.0'); |
| | $ua->timeout(30); | | $ua->timeout(30); |
| − | #$ua->proxy('http','http://localhost:1080/'); | + | #$ua->proxy('http','http://localhost:3128/'); |
| | my $request = new HTTP::Request('GET', $url); | | my $request = new HTTP::Request('GET', $url); |
| | my $response = $ua->request($request); | | my $response = $ua->request($request); |
| Line 205: |
Line 207: |
| | $ua->agent('Mozilla/5.0'); | | $ua->agent('Mozilla/5.0'); |
| | $ua->timeout(30); | | $ua->timeout(30); |
| − | # $ua->proxy('http','http://localhost:1080/'); | + | # $ua->proxy('http','http://localhost:3128/'); |
| | my $request = new HTTP::Request('GET', $url); | | my $request = new HTTP::Request('GET', $url); |
| | my $response = $ua->request($request); | | my $response = $ua->request($request); |
| Line 250: |
Line 252: |
| | $ua->agent('Mozilla/5.0'); | | $ua->agent('Mozilla/5.0'); |
| | $ua->timeout(30); | | $ua->timeout(30); |
| − | #$ua->proxy('http','http://localhost:1080/'); | + | #$ua->proxy('http','http://localhost:3128/'); |
| | my $request = new HTTP::Request('GET', $url); | | my $request = new HTTP::Request('GET', $url); |
| | my $response = $ua->request($request); | | my $response = $ua->request($request); |
| Line 521: |
Line 523: |
| | exit 0 | | exit 0 |
| | </pre> | | </pre> |
| | + | |
| | + | |
| | + | This website publishes a Privacy Policy (link at the bottom of every page). Continued use of this website implies your consent to the use of data outlined in the policy. |