Projet

Général

Profil

Révision 92a2eeec

ID92a2eeec3ac18fdac2a81195868e141757067389
Parent dcb1a185
Enfant 038f2c99, 016400bd

Ajouté par Matt West il y a plus de 13 ans

Changing # to Number to resolve bug in ubuntu installations

Voir les différences:

plugins/nagios/nagios_multi_
143 143
$graphs{svcchkdetail} = {
144 144
    config => {
145 145
        args => '--lower-limit 0',
146
        vlabel => 'Total # of Service Checks',
146
        vlabel => 'Total Number of Service Checks',
147 147
        category => 'details',
148 148
        title => 'Detailed Service Info',
149 149
        info => 'Detailed Service Check Information',
......
227 227
$graphs{hostchkdetail} = {
228 228
    config => {
229 229
        args => '--lower-limit 0',
230
        vlabel => 'Total # of Host Checks',
230
        vlabel => 'Total Number of Host Checks',
231 231
        category => 'details',
232 232
        title => 'Detailed Host Info',
233 233
        info => 'Detailed Host Check Information',
......
294 294
$graphs{checks} = {
295 295
    config => {
296 296
        args => '--lower-limit 0',
297
        vlabel => 'Total # of Checks',
297
        vlabel => 'Total Number of Checks',
298 298
        category => 'nagios',
299 299
        title => 'Totals',
300 300
        info => 'Total Number of Service and Host Checks',
301 301
    },
302 302
    keys => [ 'NUMSERVICES', 'NUMHOSTS' ],
303 303
    datasrc => [
304
        { name => 'NUMSERVICES', label => '# of Services', min => '0', type => 'GAUGE', info => 'total number of services.', draw => 'LINE2' },
305
        { name => 'NUMHOSTS', label => '# of Hosts', min => '0', type => 'GAUGE', info => 'total number of hosts.', draw => 'LINE2' },
304
        { name => 'NUMSERVICES', label => 'Number of Services', min => '0', type => 'GAUGE', info => 'total number of services.', draw => 'LINE2' },
305
        { name => 'NUMHOSTS', label => 'Number of Hosts', min => '0', type => 'GAUGE', info => 'total number of hosts.', draw => 'LINE2' },
306 306
    ],
307 307
};
308 308
# multi-graph for number of host checks in x mins ( sub graph of checks graph )
309 309
$graphs{hostchkactcount} = {
310 310
    config => {
311 311
        args => '--lower-limit 0',
312
        vlabel => '# Host Checks',
312
        vlabel => 'Number Host Checks',
313 313
        category => 'active',
314 314
        title => 'Host Checks',
315 315
        info => 'Total Number of Active Host Checks',
......
327 327
$graphs{hostchkpsvcount} = {
328 328
    config => {
329 329
        args => '--lower-limit 0',
330
        vlabel => '# Host Checks',
330
        vlabel => 'Number Host Checks',
331 331
        category => 'passive',
332 332
        title => 'Host Checks',
333 333
        info => 'Total Number of Passive Host Checks',
......
345 345
$graphs{svcchkactcount} = {
346 346
    config => {
347 347
        args => '--lower-limit 0',
348
        vlabel => '# of Service Checks',
348
        vlabel => 'Number of Service Checks',
349 349
        category => 'active',
350 350
        title => 'Service Checks',
351 351
        info => 'Total Number of Active Service Checks',
......
363 363
$graphs{svcchkpsvcount} = {
364 364
    config => {
365 365
        args => '--lower-limit 0',
366
        vlabel => '# of Service Checks',
366
        vlabel => 'Number of Service Checks',
367 367
        category => 'passive',
368 368
        title => 'Service Checks',
369 369
        info => 'Total Number of Passive Service Checks',
......
381 381
$graphs{extcmdcount} = {
382 382
    config => {
383 383
        args => '--lower-limit 0',
384
        vlabel => '# of Ext Command Slots',
384
        vlabel => 'Number of Ext Command Slots',
385 385
        category => 'externalcmds',
386 386
        title => 'External Commands',
387 387
        info => 'External Command Buffer Slot Information',

Formats disponibles : Unified diff