You are here

Monitor Printing consumables

4 posts / 0 new
Last post
AceRimmer
AceRimmer's picture
Monitor Printing consumables

Hi,

I'm new to Opsview and trying to work out how to monitor my printer consumables. I have been able to get the consumables via "check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.43.11.1.1.9.1.1"

This returns the following result/status of "SNMP OK - 75" which is correct that the toner is currently 75% full. 

The issue that I have is that I am trying to put warnings on the service so I know when they are low, but when I add -w 10 -c 5 to the end of  the command the service goes into critical straight away. I assume this is because of the "SNMP OK - " in front of the result.

Is there a way to just get just the figure in the result or is there a better way to do this?

Thanks

smarsh
smarsh's picture
Re: Monitor Printing consumables

Hi there,

Firstly - welcome to Opsview! Secondly, i wouldnt configure SNMP checks that way - that is tough - and working in OID's is painful.

What you need to do is create a new service check using 'SNMP Polling' as the method. What i've done is actually record a video showing you how to do this - as its one of those that is easier to show, than explain!

The video lives here - http://vimeo.com/91499597

Essentially, you need to add a 'host' (server, network devices, etc) - configure its SNMP credentials (tell Opsview how it can poll the device via SNMP), then go to add a new service check, 'probe' the device to get all the OID's - create a new check from it - then apply this to the host. In my example, it shows the OID's - however if you loaded 'snmp-mibs-downloader' (i believe?) then it would show the actual MIB entry - i.e. 'CPU Load' for example.

Hope this helps,

Sam

Anatol Tarasevich
a.tarasevich's picture

Hello,

<p>Hello,</p>

<p>Could you&nbsp;please provide an existing link?</p>

<p>Thanks!</p>

<p>Best regards,</p>

<p>Anatoli</p>

Duncan Ferguson
dferguson's picture
Anatoli,

Anatoli,

The link was taken down as it was recorded on an older version of the product so the instructions were no longer valid.  I have asked for it to be redone, but in the meantime we have a blog post at https://www.opsview.com/resources/blog/monitoring-juniper-ex-switches-us... that may help

  Duncs