Projet

Général

Profil

Révision ee0d7b38

IDee0d7b38264b3dfd34b118ee755ccd8c22d95a69
Parent 2fff9d6b
Enfant acfd3e4e

Ajouté par Johann Schmitz il y a presque 12 ans

Some fixes

Voir les différences:

plugins/snmp/snmp__juniper
93 93
			self.auth,
94 94
			self.transport,
95 95
			0, 20,
96
			jnxOperatingTable,
97
			ignoreNonIncreasingOids=True)
96
			jnxOperatingTable)
97
#			ignoreNonIncreasingOids=True)
98 98

  
99 99
		if errorIndication:
100 100
			logging.error("SNMP bulkCmd for devices failed: %s, %s, %s" % (errorIndication, errorStatus, errorIndex))
......
147 147

  
148 148
		s = ""
149 149
		for suffix, node in devices.iteritems():
150
			ident = "%s_temp" % node
150
			ident = "temp_%s" % node
151 151
			s += """{label}.info System temperature on {node}
152 152
{label}.label {label}
153
{label}.type GAUGE32
153
{label}.type GAUGE
154 154
{label}.min 0
155 155

  
156 156
""".format(label=ident, node=node)
......
173 173
			ident = "cpu_%s" % node
174 174
			s += """{label}.info CPU usage on {node}
175 175
{label}.label {label}
176
{label}.type GAUGE32
176
{label}.type GAUGE
177 177
{label}.min 0
178 178
{label}.max 100
179 179

  
......
196 196
			ident = "buffer_%s" % node
197 197
			s += """{label}.info Buffer usage on {node}
198 198
{label}.label {label}
199
{label}.type GAUGE32
199
{label}.type GAUGE
200 200
{label}.min 0
201 201
{label}.max 100
202 202

  

Formats disponibles : Unified diff