1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675
|
/* -- DO NOT EDIT --
* Generated by smidump version 0.4.3:
* smidump -f scli HOST-RESOURCES-MIB
*
* Derived from HOST-RESOURCES-MIB:
* This MIB is for use in managing host systems. The term
* `host' is construed to mean any computer that communicates
* with other similar computers attached to the internet and
* that is directly used by one or more human beings. Although
* this MIB does not necessarily apply to devices whose primary
* function is communications services (e.g., terminal servers,
* routers, bridges, monitoring equipment), such relevance is
* not explicitly precluded. This MIB instruments attributes
* common to all internet hosts including, for example, both
* personal computers and systems that run variants of Unix.
*
* Revision 2000-03-06 00:00:
* Clarifications and bug fixes based on implementation
* experience. This revision was also reformatted in the SMIv2
* format. The revisions made were:
*
* New RFC document standards:
* Added Copyright notice, updated introduction to SNMP
* Framework, updated references section, added reference to
* RFC 2119, and added a meaningful Security Considerations
* section.
*
* New IANA considerations section for registration of new types
*
* Conversion to new SMIv2 syntax for the following types and
* macros:
* Counter32, Integer32, Gauge32, MODULE-IDENTITY,
* OBJECT-TYPE, TEXTUAL-CONVENTION, OBJECT-IDENTITY,
* MODULE-COMPLIANCE, OBJECT-GROUP
*
* Used new Textual Conventions:
* TruthValue, DateAndTime, AutonomousType,
* InterfaceIndexOrZero
*
* Fixed typo in hrPrinterStatus.
*
* Added missing error bits to hrPrinterDetectedErrorState and
* clarified confusion resulting from suggested mappings to
* hrPrinterStatus.
* Clarified that size of objects of type
* InternationalDisplayString is number of octets, not number
* of encoded symbols.
*
* Clarified the use of the following objects based on
* implementation experience:
* hrSystemInitialLoadDevice, hrSystemInitialLoadParameters,
* hrMemorySize, hrStorageSize, hrStorageAllocationFailures,
* hrDeviceErrors, hrProcessorLoad, hrNetworkIfIndex,
* hrDiskStorageCapacity, hrSWRunStatus, hrSWRunPerfCPU,
* and hrSWInstalledDate.
*
* Clarified implementation technique for hrSWInstalledTable.
*
* Used new AUGMENTS clause for hrSWRunPerfTable.
*
* Added Internationalization Considerations section.
*
* This revision published as RFC2790.
*
* Revision 1999-10-20 22:00:
* The original version of this MIB, published as
* RFC1514.
*
* $Id: host-resources-mib.h 1787 2006-02-21 20:45:55Z schoenw $
*/
#ifndef _HOST_RESOURCES_MIB_H_
#define _HOST_RESOURCES_MIB_H_
#include "gsnmp.h"
G_BEGIN_DECLS
/*
* Tables to map enumerations to strings and vice versa.
*/
#define HOST_RESOURCES_MIB_HRDEVICESTATUS_UNKNOWN 1
#define HOST_RESOURCES_MIB_HRDEVICESTATUS_RUNNING 2
#define HOST_RESOURCES_MIB_HRDEVICESTATUS_WARNING 3
#define HOST_RESOURCES_MIB_HRDEVICESTATUS_TESTING 4
#define HOST_RESOURCES_MIB_HRDEVICESTATUS_DOWN 5
extern GNetSnmpEnum const host_resources_mib_enums_hrDeviceStatus[];
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS_OTHER 1
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS_UNKNOWN 2
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS_IDLE 3
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS_PRINTING 4
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS_WARMUP 5
extern GNetSnmpEnum const host_resources_mib_enums_hrPrinterStatus[];
#define HOST_RESOURCES_MIB_HRDISKSTORAGEACCESS_READWRITE 1
#define HOST_RESOURCES_MIB_HRDISKSTORAGEACCESS_READONLY 2
extern GNetSnmpEnum const host_resources_mib_enums_hrDiskStorageAccess[];
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_OTHER 1
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_UNKNOWN 2
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_HARDDISK 3
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_FLOPPYDISK 4
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_OPTICALDISKROM 5
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_OPTICALDISKWORM 6
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_OPTICALDISKRW 7
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA_RAMDISK 8
extern GNetSnmpEnum const host_resources_mib_enums_hrDiskStorageMedia[];
#define HOST_RESOURCES_MIB_HRFSACCESS_READWRITE 1
#define HOST_RESOURCES_MIB_HRFSACCESS_READONLY 2
extern GNetSnmpEnum const host_resources_mib_enums_hrFSAccess[];
#define HOST_RESOURCES_MIB_HRSWRUNTYPE_UNKNOWN 1
#define HOST_RESOURCES_MIB_HRSWRUNTYPE_OPERATINGSYSTEM 2
#define HOST_RESOURCES_MIB_HRSWRUNTYPE_DEVICEDRIVER 3
#define HOST_RESOURCES_MIB_HRSWRUNTYPE_APPLICATION 4
extern GNetSnmpEnum const host_resources_mib_enums_hrSWRunType[];
#define HOST_RESOURCES_MIB_HRSWRUNSTATUS_RUNNING 1
#define HOST_RESOURCES_MIB_HRSWRUNSTATUS_RUNNABLE 2
#define HOST_RESOURCES_MIB_HRSWRUNSTATUS_NOTRUNNABLE 3
#define HOST_RESOURCES_MIB_HRSWRUNSTATUS_INVALID 4
extern GNetSnmpEnum const host_resources_mib_enums_hrSWRunStatus[];
#define HOST_RESOURCES_MIB_HRSWINSTALLEDTYPE_UNKNOWN 1
#define HOST_RESOURCES_MIB_HRSWINSTALLEDTYPE_OPERATINGSYSTEM 2
#define HOST_RESOURCES_MIB_HRSWINSTALLEDTYPE_DEVICEDRIVER 3
#define HOST_RESOURCES_MIB_HRSWINSTALLEDTYPE_APPLICATION 4
extern GNetSnmpEnum const host_resources_mib_enums_hrSWInstalledType[];
/*
* C type definitions for HOST-RESOURCES-MIB::hrSystem.
*/
#define HOST_RESOURCES_MIB_HRSYSTEMUPTIME (1 << 0)
#define HOST_RESOURCES_MIB_HRSYSTEMDATE (1 << 1)
#define HOST_RESOURCES_MIB_HRSYSTEMINITIALLOADDEVICE (1 << 2)
#define HOST_RESOURCES_MIB_HRSYSTEMINITIALLOADPARAMETERS (1 << 3)
#define HOST_RESOURCES_MIB_HRSYSTEMNUMUSERS (1 << 4)
#define HOST_RESOURCES_MIB_HRSYSTEMPROCESSES (1 << 5)
#define HOST_RESOURCES_MIB_HRSYSTEMMAXPROCESSES (1 << 6)
typedef struct {
guint32 *hrSystemUptime; /* ro SNMPv2-SMI::TimeTicks */
guchar *hrSystemDate; /* rw SNMPv2-TC::DateAndTime */
#define HOST_RESOURCES_MIB_HRSYSTEMDATEMINLENGTH 8
#define HOST_RESOURCES_MIB_HRSYSTEMDATEMAXLENGTH 11
guint16 _hrSystemDateLength;
gint32 *hrSystemInitialLoadDevice; /* rw */
guchar *hrSystemInitialLoadParameters; /* rw */
#define HOST_RESOURCES_MIB_HRSYSTEMINITIALLOADPARAMETERSMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSYSTEMINITIALLOADPARAMETERSMAXLENGTH 128
guint16 _hrSystemInitialLoadParametersLength;
guint32 *hrSystemNumUsers; /* ro SNMPv2-SMI::Gauge32 */
guint32 *hrSystemProcesses; /* ro SNMPv2-SMI::Gauge32 */
gint32 *hrSystemMaxProcesses; /* ro */
} host_resources_mib_hrSystem_t;
extern host_resources_mib_hrSystem_t *
host_resources_mib_new_hrSystem(void);
extern void
host_resources_mib_get_hrSystem(GNetSnmp *s, host_resources_mib_hrSystem_t **hrSystem, gint64 mask);
extern void
host_resources_mib_set_hrSystem(GNetSnmp *s, host_resources_mib_hrSystem_t *hrSystem, gint64 mask);
extern void
host_resources_mib_free_hrSystem(host_resources_mib_hrSystem_t *hrSystem);
/*
* C type definitions for HOST-RESOURCES-MIB::hrStorage.
*/
#define HOST_RESOURCES_MIB_HRMEMORYSIZE (1 << 0)
typedef struct {
gint32 *hrMemorySize; /* ro HOST-RESOURCES-MIB::KBytes [KBytes] */
} host_resources_mib_hrStorage_t;
extern host_resources_mib_hrStorage_t *
host_resources_mib_new_hrStorage(void);
extern void
host_resources_mib_get_hrStorage(GNetSnmp *s, host_resources_mib_hrStorage_t **hrStorage, gint64 mask);
extern void
host_resources_mib_free_hrStorage(host_resources_mib_hrStorage_t *hrStorage);
/*
* C type definitions for HOST-RESOURCES-MIB::hrStorageEntry.
*/
#define HOST_RESOURCES_MIB_HRSTORAGEINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRSTORAGETYPE (1 << 1)
#define HOST_RESOURCES_MIB_HRSTORAGEDESCR (1 << 2)
#define HOST_RESOURCES_MIB_HRSTORAGEALLOCATIONUNITS (1 << 3)
#define HOST_RESOURCES_MIB_HRSTORAGESIZE (1 << 4)
#define HOST_RESOURCES_MIB_HRSTORAGEUSED (1 << 5)
#define HOST_RESOURCES_MIB_HRSTORAGEALLOCATIONFAILURES (1 << 6)
typedef struct {
gint32 hrStorageIndex; /* ro */
guint32 *hrStorageType; /* ro SNMPv2-TC::AutonomousType */
#define HOST_RESOURCES_MIB_HRSTORAGETYPEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSTORAGETYPEMAXLENGTH 128
guint16 _hrStorageTypeLength;
guchar *hrStorageDescr; /* ro SNMPv2-TC::DisplayString */
#define HOST_RESOURCES_MIB_HRSTORAGEDESCRMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSTORAGEDESCRMAXLENGTH 255
guint16 _hrStorageDescrLength;
gint32 *hrStorageAllocationUnits; /* ro [Bytes] */
gint32 *hrStorageSize; /* rw */
gint32 *hrStorageUsed; /* ro */
guint32 *hrStorageAllocationFailures; /* ro SNMPv2-SMI::Counter32 */
} host_resources_mib_hrStorageEntry_t;
extern void
host_resources_mib_get_hrStorageTable(GNetSnmp *s, host_resources_mib_hrStorageEntry_t ***hrStorageEntry, gint64 mask);
extern void
host_resources_mib_free_hrStorageTable(host_resources_mib_hrStorageEntry_t **hrStorageEntry);
extern host_resources_mib_hrStorageEntry_t *
host_resources_mib_new_hrStorageEntry(void);
extern void
host_resources_mib_get_hrStorageEntry(GNetSnmp *s, host_resources_mib_hrStorageEntry_t **hrStorageEntry, gint32 hrStorageIndex, gint64 mask);
extern void
host_resources_mib_set_hrStorageEntry(GNetSnmp *s, host_resources_mib_hrStorageEntry_t *hrStorageEntry, gint64 mask);
extern void
host_resources_mib_free_hrStorageEntry(host_resources_mib_hrStorageEntry_t *hrStorageEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrDeviceEntry.
*/
#define HOST_RESOURCES_MIB_HRDEVICEINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRDEVICETYPE (1 << 1)
#define HOST_RESOURCES_MIB_HRDEVICEDESCR (1 << 2)
#define HOST_RESOURCES_MIB_HRDEVICEID (1 << 3)
#define HOST_RESOURCES_MIB_HRDEVICESTATUS (1 << 4)
#define HOST_RESOURCES_MIB_HRDEVICEERRORS (1 << 5)
typedef struct {
gint32 hrDeviceIndex; /* ro */
guint32 *hrDeviceType; /* ro SNMPv2-TC::AutonomousType */
#define HOST_RESOURCES_MIB_HRDEVICETYPEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRDEVICETYPEMAXLENGTH 128
guint16 _hrDeviceTypeLength;
guchar *hrDeviceDescr; /* ro */
#define HOST_RESOURCES_MIB_HRDEVICEDESCRMINLENGTH 0
#define HOST_RESOURCES_MIB_HRDEVICEDESCRMAXLENGTH 64
guint16 _hrDeviceDescrLength;
guint32 *hrDeviceID; /* ro HOST-RESOURCES-MIB::ProductID */
#define HOST_RESOURCES_MIB_HRDEVICEIDMINLENGTH 0
#define HOST_RESOURCES_MIB_HRDEVICEIDMAXLENGTH 128
guint16 _hrDeviceIDLength;
gint32 *hrDeviceStatus; /* ro */
guint32 *hrDeviceErrors; /* ro SNMPv2-SMI::Counter32 */
} host_resources_mib_hrDeviceEntry_t;
extern void
host_resources_mib_get_hrDeviceTable(GNetSnmp *s, host_resources_mib_hrDeviceEntry_t ***hrDeviceEntry, gint64 mask);
extern void
host_resources_mib_free_hrDeviceTable(host_resources_mib_hrDeviceEntry_t **hrDeviceEntry);
extern host_resources_mib_hrDeviceEntry_t *
host_resources_mib_new_hrDeviceEntry(void);
extern void
host_resources_mib_get_hrDeviceEntry(GNetSnmp *s, host_resources_mib_hrDeviceEntry_t **hrDeviceEntry, gint32 hrDeviceIndex, gint64 mask);
extern void
host_resources_mib_free_hrDeviceEntry(host_resources_mib_hrDeviceEntry_t *hrDeviceEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrProcessorEntry.
*/
#define HOST_RESOURCES_MIB_HRPROCESSORFRWID (1 << 0)
#define HOST_RESOURCES_MIB_HRPROCESSORLOAD (1 << 1)
typedef struct {
gint32 hrDeviceIndex; /* ro */
guint32 *hrProcessorFrwID; /* ro HOST-RESOURCES-MIB::ProductID */
#define HOST_RESOURCES_MIB_HRPROCESSORFRWIDMINLENGTH 0
#define HOST_RESOURCES_MIB_HRPROCESSORFRWIDMAXLENGTH 128
guint16 _hrProcessorFrwIDLength;
gint32 *hrProcessorLoad; /* ro */
} host_resources_mib_hrProcessorEntry_t;
extern void
host_resources_mib_get_hrProcessorTable(GNetSnmp *s, host_resources_mib_hrProcessorEntry_t ***hrProcessorEntry, gint64 mask);
extern void
host_resources_mib_free_hrProcessorTable(host_resources_mib_hrProcessorEntry_t **hrProcessorEntry);
extern host_resources_mib_hrProcessorEntry_t *
host_resources_mib_new_hrProcessorEntry(void);
extern void
host_resources_mib_get_hrProcessorEntry(GNetSnmp *s, host_resources_mib_hrProcessorEntry_t **hrProcessorEntry, gint32 hrDeviceIndex, gint64 mask);
extern void
host_resources_mib_free_hrProcessorEntry(host_resources_mib_hrProcessorEntry_t *hrProcessorEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrNetworkEntry.
*/
#define HOST_RESOURCES_MIB_HRNETWORKIFINDEX (1 << 0)
typedef struct {
gint32 hrDeviceIndex; /* ro */
gint32 *hrNetworkIfIndex; /* ro IF-MIB::InterfaceIndexOrZero */
} host_resources_mib_hrNetworkEntry_t;
extern void
host_resources_mib_get_hrNetworkTable(GNetSnmp *s, host_resources_mib_hrNetworkEntry_t ***hrNetworkEntry, gint64 mask);
extern void
host_resources_mib_free_hrNetworkTable(host_resources_mib_hrNetworkEntry_t **hrNetworkEntry);
extern host_resources_mib_hrNetworkEntry_t *
host_resources_mib_new_hrNetworkEntry(void);
extern void
host_resources_mib_get_hrNetworkEntry(GNetSnmp *s, host_resources_mib_hrNetworkEntry_t **hrNetworkEntry, gint32 hrDeviceIndex, gint64 mask);
extern void
host_resources_mib_free_hrNetworkEntry(host_resources_mib_hrNetworkEntry_t *hrNetworkEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrPrinterEntry.
*/
#define HOST_RESOURCES_MIB_HRPRINTERSTATUS (1 << 0)
#define HOST_RESOURCES_MIB_HRPRINTERDETECTEDERRORSTATE (1 << 1)
typedef struct {
gint32 hrDeviceIndex; /* ro */
gint32 *hrPrinterStatus; /* ro */
guchar *hrPrinterDetectedErrorState; /* ro OctetString */
#define HOST_RESOURCES_MIB_HRPRINTERDETECTEDERRORSTATEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRPRINTERDETECTEDERRORSTATEMAXLENGTH 65535
guint16 _hrPrinterDetectedErrorStateLength;
} host_resources_mib_hrPrinterEntry_t;
extern void
host_resources_mib_get_hrPrinterTable(GNetSnmp *s, host_resources_mib_hrPrinterEntry_t ***hrPrinterEntry, gint64 mask);
extern void
host_resources_mib_free_hrPrinterTable(host_resources_mib_hrPrinterEntry_t **hrPrinterEntry);
extern host_resources_mib_hrPrinterEntry_t *
host_resources_mib_new_hrPrinterEntry(void);
extern void
host_resources_mib_get_hrPrinterEntry(GNetSnmp *s, host_resources_mib_hrPrinterEntry_t **hrPrinterEntry, gint32 hrDeviceIndex, gint64 mask);
extern void
host_resources_mib_free_hrPrinterEntry(host_resources_mib_hrPrinterEntry_t *hrPrinterEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrDiskStorageEntry.
*/
#define HOST_RESOURCES_MIB_HRDISKSTORAGEACCESS (1 << 0)
#define HOST_RESOURCES_MIB_HRDISKSTORAGEMEDIA (1 << 1)
#define HOST_RESOURCES_MIB_HRDISKSTORAGEREMOVEBLE (1 << 2)
#define HOST_RESOURCES_MIB_HRDISKSTORAGECAPACITY (1 << 3)
typedef struct {
gint32 hrDeviceIndex; /* ro */
gint32 *hrDiskStorageAccess; /* ro */
gint32 *hrDiskStorageMedia; /* ro */
gint32 *hrDiskStorageRemoveble; /* ro SNMPv2-TC::TruthValue */
gint32 *hrDiskStorageCapacity; /* ro HOST-RESOURCES-MIB::KBytes [KBytes] */
} host_resources_mib_hrDiskStorageEntry_t;
extern void
host_resources_mib_get_hrDiskStorageTable(GNetSnmp *s, host_resources_mib_hrDiskStorageEntry_t ***hrDiskStorageEntry, gint64 mask);
extern void
host_resources_mib_free_hrDiskStorageTable(host_resources_mib_hrDiskStorageEntry_t **hrDiskStorageEntry);
extern host_resources_mib_hrDiskStorageEntry_t *
host_resources_mib_new_hrDiskStorageEntry(void);
extern void
host_resources_mib_get_hrDiskStorageEntry(GNetSnmp *s, host_resources_mib_hrDiskStorageEntry_t **hrDiskStorageEntry, gint32 hrDeviceIndex, gint64 mask);
extern void
host_resources_mib_free_hrDiskStorageEntry(host_resources_mib_hrDiskStorageEntry_t *hrDiskStorageEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrPartitionEntry.
*/
#define HOST_RESOURCES_MIB_HRPARTITIONINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRPARTITIONLABEL (1 << 1)
#define HOST_RESOURCES_MIB_HRPARTITIONID (1 << 2)
#define HOST_RESOURCES_MIB_HRPARTITIONSIZE (1 << 3)
#define HOST_RESOURCES_MIB_HRPARTITIONFSINDEX (1 << 4)
typedef struct {
gint32 hrDeviceIndex; /* ro */
gint32 hrPartitionIndex; /* ro */
guchar *hrPartitionLabel; /* ro */
#define HOST_RESOURCES_MIB_HRPARTITIONLABELMINLENGTH 0
#define HOST_RESOURCES_MIB_HRPARTITIONLABELMAXLENGTH 128
guint16 _hrPartitionLabelLength;
guchar *hrPartitionID; /* ro OctetString */
#define HOST_RESOURCES_MIB_HRPARTITIONIDMINLENGTH 0
#define HOST_RESOURCES_MIB_HRPARTITIONIDMAXLENGTH 65535
guint16 _hrPartitionIDLength;
gint32 *hrPartitionSize; /* ro HOST-RESOURCES-MIB::KBytes [KBytes] */
gint32 *hrPartitionFSIndex; /* ro */
} host_resources_mib_hrPartitionEntry_t;
extern void
host_resources_mib_get_hrPartitionTable(GNetSnmp *s, host_resources_mib_hrPartitionEntry_t ***hrPartitionEntry, gint64 mask);
extern void
host_resources_mib_free_hrPartitionTable(host_resources_mib_hrPartitionEntry_t **hrPartitionEntry);
extern host_resources_mib_hrPartitionEntry_t *
host_resources_mib_new_hrPartitionEntry(void);
extern void
host_resources_mib_get_hrPartitionEntry(GNetSnmp *s, host_resources_mib_hrPartitionEntry_t **hrPartitionEntry, gint32 hrDeviceIndex, gint32 hrPartitionIndex, gint64 mask);
extern void
host_resources_mib_free_hrPartitionEntry(host_resources_mib_hrPartitionEntry_t *hrPartitionEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrFSEntry.
*/
#define HOST_RESOURCES_MIB_HRFSINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRFSMOUNTPOINT (1 << 1)
#define HOST_RESOURCES_MIB_HRFSREMOTEMOUNTPOINT (1 << 2)
#define HOST_RESOURCES_MIB_HRFSTYPE (1 << 3)
#define HOST_RESOURCES_MIB_HRFSACCESS (1 << 4)
#define HOST_RESOURCES_MIB_HRFSBOOTABLE (1 << 5)
#define HOST_RESOURCES_MIB_HRFSSTORAGEINDEX (1 << 6)
#define HOST_RESOURCES_MIB_HRFSLASTFULLBACKUPDATE (1 << 7)
#define HOST_RESOURCES_MIB_HRFSLASTPARTIALBACKUPDATE (1 << 8)
typedef struct {
gint32 hrFSIndex; /* ro */
guchar *hrFSMountPoint; /* ro */
#define HOST_RESOURCES_MIB_HRFSMOUNTPOINTMINLENGTH 0
#define HOST_RESOURCES_MIB_HRFSMOUNTPOINTMAXLENGTH 128
guint16 _hrFSMountPointLength;
guchar *hrFSRemoteMountPoint; /* ro */
#define HOST_RESOURCES_MIB_HRFSREMOTEMOUNTPOINTMINLENGTH 0
#define HOST_RESOURCES_MIB_HRFSREMOTEMOUNTPOINTMAXLENGTH 128
guint16 _hrFSRemoteMountPointLength;
guint32 *hrFSType; /* ro SNMPv2-TC::AutonomousType */
#define HOST_RESOURCES_MIB_HRFSTYPEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRFSTYPEMAXLENGTH 128
guint16 _hrFSTypeLength;
gint32 *hrFSAccess; /* ro */
gint32 *hrFSBootable; /* ro SNMPv2-TC::TruthValue */
gint32 *hrFSStorageIndex; /* ro */
guchar *hrFSLastFullBackupDate; /* rw SNMPv2-TC::DateAndTime */
#define HOST_RESOURCES_MIB_HRFSLASTFULLBACKUPDATEMINLENGTH 8
#define HOST_RESOURCES_MIB_HRFSLASTFULLBACKUPDATEMAXLENGTH 11
guint16 _hrFSLastFullBackupDateLength;
guchar *hrFSLastPartialBackupDate; /* rw SNMPv2-TC::DateAndTime */
#define HOST_RESOURCES_MIB_HRFSLASTPARTIALBACKUPDATEMINLENGTH 8
#define HOST_RESOURCES_MIB_HRFSLASTPARTIALBACKUPDATEMAXLENGTH 11
guint16 _hrFSLastPartialBackupDateLength;
} host_resources_mib_hrFSEntry_t;
extern void
host_resources_mib_get_hrFSTable(GNetSnmp *s, host_resources_mib_hrFSEntry_t ***hrFSEntry, gint64 mask);
extern void
host_resources_mib_free_hrFSTable(host_resources_mib_hrFSEntry_t **hrFSEntry);
extern host_resources_mib_hrFSEntry_t *
host_resources_mib_new_hrFSEntry(void);
extern void
host_resources_mib_get_hrFSEntry(GNetSnmp *s, host_resources_mib_hrFSEntry_t **hrFSEntry, gint32 hrFSIndex, gint64 mask);
extern void
host_resources_mib_set_hrFSEntry(GNetSnmp *s, host_resources_mib_hrFSEntry_t *hrFSEntry, gint64 mask);
extern void
host_resources_mib_free_hrFSEntry(host_resources_mib_hrFSEntry_t *hrFSEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrSWRun.
*/
#define HOST_RESOURCES_MIB_HRSWOSINDEX (1 << 0)
typedef struct {
gint32 *hrSWOSIndex; /* ro */
} host_resources_mib_hrSWRun_t;
extern host_resources_mib_hrSWRun_t *
host_resources_mib_new_hrSWRun(void);
extern void
host_resources_mib_get_hrSWRun(GNetSnmp *s, host_resources_mib_hrSWRun_t **hrSWRun, gint64 mask);
extern void
host_resources_mib_free_hrSWRun(host_resources_mib_hrSWRun_t *hrSWRun);
/*
* C type definitions for HOST-RESOURCES-MIB::hrSWRunEntry.
*/
#define HOST_RESOURCES_MIB_HRSWRUNINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRSWRUNNAME (1 << 1)
#define HOST_RESOURCES_MIB_HRSWRUNID (1 << 2)
#define HOST_RESOURCES_MIB_HRSWRUNPATH (1 << 3)
#define HOST_RESOURCES_MIB_HRSWRUNPARAMETERS (1 << 4)
#define HOST_RESOURCES_MIB_HRSWRUNTYPE (1 << 5)
#define HOST_RESOURCES_MIB_HRSWRUNSTATUS (1 << 6)
typedef struct {
gint32 hrSWRunIndex; /* ro */
guchar *hrSWRunName; /* ro */
#define HOST_RESOURCES_MIB_HRSWRUNNAMEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWRUNNAMEMAXLENGTH 64
guint16 _hrSWRunNameLength;
guint32 *hrSWRunID; /* ro HOST-RESOURCES-MIB::ProductID */
#define HOST_RESOURCES_MIB_HRSWRUNIDMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWRUNIDMAXLENGTH 128
guint16 _hrSWRunIDLength;
guchar *hrSWRunPath; /* ro */
#define HOST_RESOURCES_MIB_HRSWRUNPATHMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWRUNPATHMAXLENGTH 128
guint16 _hrSWRunPathLength;
guchar *hrSWRunParameters; /* ro */
#define HOST_RESOURCES_MIB_HRSWRUNPARAMETERSMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWRUNPARAMETERSMAXLENGTH 128
guint16 _hrSWRunParametersLength;
gint32 *hrSWRunType; /* ro */
gint32 *hrSWRunStatus; /* rw */
} host_resources_mib_hrSWRunEntry_t;
extern void
host_resources_mib_get_hrSWRunTable(GNetSnmp *s, host_resources_mib_hrSWRunEntry_t ***hrSWRunEntry, gint64 mask);
extern void
host_resources_mib_free_hrSWRunTable(host_resources_mib_hrSWRunEntry_t **hrSWRunEntry);
extern host_resources_mib_hrSWRunEntry_t *
host_resources_mib_new_hrSWRunEntry(void);
extern void
host_resources_mib_get_hrSWRunEntry(GNetSnmp *s, host_resources_mib_hrSWRunEntry_t **hrSWRunEntry, gint32 hrSWRunIndex, gint64 mask);
extern void
host_resources_mib_set_hrSWRunEntry(GNetSnmp *s, host_resources_mib_hrSWRunEntry_t *hrSWRunEntry, gint64 mask);
extern void
host_resources_mib_free_hrSWRunEntry(host_resources_mib_hrSWRunEntry_t *hrSWRunEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrSWRunPerfEntry.
*/
#define HOST_RESOURCES_MIB_HRSWRUNPERFCPU (1 << 0)
#define HOST_RESOURCES_MIB_HRSWRUNPERFMEM (1 << 1)
typedef struct {
gint32 hrSWRunIndex; /* ro */
gint32 *hrSWRunPerfCPU; /* ro */
gint32 *hrSWRunPerfMem; /* ro HOST-RESOURCES-MIB::KBytes [KBytes] */
} host_resources_mib_hrSWRunPerfEntry_t;
extern void
host_resources_mib_get_hrSWRunPerfTable(GNetSnmp *s, host_resources_mib_hrSWRunPerfEntry_t ***hrSWRunPerfEntry, gint64 mask);
extern void
host_resources_mib_free_hrSWRunPerfTable(host_resources_mib_hrSWRunPerfEntry_t **hrSWRunPerfEntry);
extern host_resources_mib_hrSWRunPerfEntry_t *
host_resources_mib_new_hrSWRunPerfEntry(void);
extern void
host_resources_mib_get_hrSWRunPerfEntry(GNetSnmp *s, host_resources_mib_hrSWRunPerfEntry_t **hrSWRunPerfEntry, gint32 hrSWRunIndex, gint64 mask);
extern void
host_resources_mib_free_hrSWRunPerfEntry(host_resources_mib_hrSWRunPerfEntry_t *hrSWRunPerfEntry);
/*
* C type definitions for HOST-RESOURCES-MIB::hrSWInstalled.
*/
#define HOST_RESOURCES_MIB_HRSWINSTALLEDLASTCHANGE (1 << 0)
#define HOST_RESOURCES_MIB_HRSWINSTALLEDLASTUPDATETIME (1 << 1)
typedef struct {
guint32 *hrSWInstalledLastChange; /* ro SNMPv2-SMI::TimeTicks */
guint32 *hrSWInstalledLastUpdateTime; /* ro SNMPv2-SMI::TimeTicks */
} host_resources_mib_hrSWInstalled_t;
extern host_resources_mib_hrSWInstalled_t *
host_resources_mib_new_hrSWInstalled(void);
extern void
host_resources_mib_get_hrSWInstalled(GNetSnmp *s, host_resources_mib_hrSWInstalled_t **hrSWInstalled, gint64 mask);
extern void
host_resources_mib_free_hrSWInstalled(host_resources_mib_hrSWInstalled_t *hrSWInstalled);
/*
* C type definitions for HOST-RESOURCES-MIB::hrSWInstalledEntry.
*/
#define HOST_RESOURCES_MIB_HRSWINSTALLEDINDEX (1 << 0)
#define HOST_RESOURCES_MIB_HRSWINSTALLEDNAME (1 << 1)
#define HOST_RESOURCES_MIB_HRSWINSTALLEDID (1 << 2)
#define HOST_RESOURCES_MIB_HRSWINSTALLEDTYPE (1 << 3)
#define HOST_RESOURCES_MIB_HRSWINSTALLEDDATE (1 << 4)
typedef struct {
gint32 hrSWInstalledIndex; /* ro */
guchar *hrSWInstalledName; /* ro */
#define HOST_RESOURCES_MIB_HRSWINSTALLEDNAMEMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWINSTALLEDNAMEMAXLENGTH 64
guint16 _hrSWInstalledNameLength;
guint32 *hrSWInstalledID; /* ro HOST-RESOURCES-MIB::ProductID */
#define HOST_RESOURCES_MIB_HRSWINSTALLEDIDMINLENGTH 0
#define HOST_RESOURCES_MIB_HRSWINSTALLEDIDMAXLENGTH 128
guint16 _hrSWInstalledIDLength;
gint32 *hrSWInstalledType; /* ro */
guchar *hrSWInstalledDate; /* ro SNMPv2-TC::DateAndTime */
#define HOST_RESOURCES_MIB_HRSWINSTALLEDDATEMINLENGTH 8
#define HOST_RESOURCES_MIB_HRSWINSTALLEDDATEMAXLENGTH 11
guint16 _hrSWInstalledDateLength;
} host_resources_mib_hrSWInstalledEntry_t;
extern void
host_resources_mib_get_hrSWInstalledTable(GNetSnmp *s, host_resources_mib_hrSWInstalledEntry_t ***hrSWInstalledEntry, gint64 mask);
extern void
host_resources_mib_free_hrSWInstalledTable(host_resources_mib_hrSWInstalledEntry_t **hrSWInstalledEntry);
extern host_resources_mib_hrSWInstalledEntry_t *
host_resources_mib_new_hrSWInstalledEntry(void);
extern void
host_resources_mib_get_hrSWInstalledEntry(GNetSnmp *s, host_resources_mib_hrSWInstalledEntry_t **hrSWInstalledEntry, gint32 hrSWInstalledIndex, gint64 mask);
extern void
host_resources_mib_free_hrSWInstalledEntry(host_resources_mib_hrSWInstalledEntry_t *hrSWInstalledEntry);
G_END_DECLS
#endif /* _HOST_RESOURCES_MIB_H_ */
|