From: Whilding, C. <Cra...@me...> - 2006-03-10 14:39:48
|
I want to monitor printer toner and other consumables. This is all under mib group 1.3.6.1.2.1.43.11.1. =20 The problem I have is that is the level or total is not being measured it can return negative numbers: =20 The value (-1) means other and specifically indicates that the sub-unit places no restrictions on this parameter. The value (-2) means unknown. A value of (-3) means that the printer knows that there is some supply/remaining space, respectively." =20 How should I go about implementing this? It could do with some sort of if then else logic. =20 =20 There is a similar problem with dhcp free addresses. We have some disabled ranges that must be kept in place (networks are managed by someone else's dept). As there is no oid I know of for disabled range I want to monitor this through an exception if addresses in use and free addresses is 0 - ignore. Currently I cant do this as exceptions only work on the primary alias. =20 =20 Its also still giving the "127.0.0.1 (insert real ip) isn't numeric in numeric ne (!=3D) at /..../dm_test.pm line 1867/1851,<$__ANONIO__> line 198" errors. Any ideas? =20 Thanks, Craig |