Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:55 AM
Veni
 
Posts: n/a
Default SUN MIB files for Hardware monitoring

Hi,

I am experimenting with Sun Management Center 3.0 as I am under the
impression that it allows me to monitor hardware components on my sunfire
machine.
However, I dont seem to be able to find the MIBs for doing so. is anyone
aware if they
are still available for download.

regards, Veni






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:55 AM
Mike Kirk
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Hi Veni,

> I am experimenting with Sun Management Center 3.0 as I am under the
> impression that it allows me to monitor hardware components on my sunfire
> machine.
> However, I dont seem to be able to find the MIBs for doing so. is anyone
> aware if they are still available for download.


First off, any reason why you're not using a much newer version of
SunMC? Stuck with the version supported by SRS? SunMC's up to 3.5.1
now. Also, all this information is viewable through the SunMC Console:
are you trying to poll this info from another framework? There are
already integrations available for HPOV/CA/Netcool/Tivoli...

Sun publishes several MIBs for SunMC, although none are for the
hardware:

http://wwws.sun.com/software/solaris.../snmp.html#0q2

....although there are posts in the SunMC forum of people
reverse-engineering the MIBS:

http://forum.sun.com/thread.jsp?forum=181&thread=15248

....or if you're looking for something off-the-shelf:

http://www.halcyoninc.com/products/Frameworks/index.php

Regards.

Note: I am an employee of Halcyon (www.HalcyonInc.com)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:55 AM
Veni
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Thanks Mike for answering. I am simply using the freeware SMC 3.0 because it was the only copy I could source for. downloading it seems impractical given the size. We do not intend to implement SRS because its an enclosed environment. From the documents from sun, it is implied that from Symon 1.6 http://docs.sun.com/db/doc/805-4829/6j4io2pah?a=view, we should have the mibs for hardware component monitoring, but I havent really found what I want from the sun site or http://www.mibdepot.com. after all the hassle, I am wondering if it would simply be cleaner to implement an snmp trap (for hardware component monitoring) using the generic tools on sun & perl given that critical errors and failures should be readable and grepped off some of the syslog or var/admin logs.


regards, Veni
inveni@hotmail.com




"Mike Kirk" <primealert@gmail.com> wrote in message news:f0bc53ee.0410121254.48f34b15@posting.google.c om...
> Hi Veni,
>
> > I am experimenting with Sun Management Center 3.0 as I am under the
> > impression that it allows me to monitor hardware components on my sunfire
> > machine.
> > However, I dont seem to be able to find the MIBs for doing so. is anyone
> > aware if they are still available for download.

>
> First off, any reason why you're not using a much newer version of
> SunMC? Stuck with the version supported by SRS? SunMC's up to 3.5.1
> now. Also, all this information is viewable through the SunMC Console:
> are you trying to poll this info from another framework? There are
> already integrations available for HPOV/CA/Netcool/Tivoli...
>
> Sun publishes several MIBs for SunMC, although none are for the
> hardware:
>
> http://wwws.sun.com/software/solaris.../snmp.html#0q2
>
> ...although there are posts in the SunMC forum of people
> reverse-engineering the MIBS:
>
> http://forum.sun.com/thread.jsp?forum=181&thread=15248
>
> ...or if you're looking for something off-the-shelf:
>
> http://www.halcyoninc.com/products/Frameworks/index.php
>
> Regards.
>
> Note: I am an employee of Halcyon (www.HalcyonInc.com)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:55 AM
Mike Kirk
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Veni,

> From the documents from sun, it is implied that from Symon 1.6
> http://docs.sun.com/db/doc/805-4829/6j4io2pah?a=view, we should have
> the mibs for hardware component monitoring


Ah, I see where you're coming from. SyMON 1.x and SyMON 2.x (renamed
to "Sun Management Center" as of version 3) are totally seperate
products. Essentially 1.x was scrapped when 2.x was codeveloped with a
partner (where Halcyon comes in). 2.x onwards all use the same core
infrastructure, so 2.x docs still have some relevance to the most
current version (3.5.1). But 1.x docs have nothing to do with 2.x or
higher.

> I am wondering if it would simply be cleaner to implement an
> snmp trap (for hardware component monitoring) using the generic tools on
> sun & perl given that critical errors and failures should be readable
> and grepped off some of the syslog or var/admin logs.


Scripts and logs may well be enough for your environment, especially
if you have a bunch of non-production and/or small systems to
maintain. But SunMC hardware monitoring also uses C code/libraries to
query hardware for things that otherwise don't show up in log files.
Especially for larger systems (3/4/6800, 12/15/20/25k range).

You also have to ask yourself how much work it will be to maintain
your setup in the face of new Sun hardware and software (i.e. Solaris
10) given that the basic hardware monitoring in SunMC is free.
Downloading a new version may be easier to do than hacking away at
Perl, though not nearly as fun!

Regards,

Mike

Note: I am an employee of Halcyon (www.HalcyonInc.com)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 07:55 AM
Veni
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

That makes perfect sense now! The documentation in symon 1.6 doesnt tally
with SMC3.0.
I've been trying to learn how to work out my own implementation, but there
arent any books or references to troubleshooting or writing your own snmp
agents. mauro's essential snmp & Stallings' SNMP, SNMPv2,v3, RMON1&2 have
been useful in deriving a coherent overview.. but you really dont get to
know enough to troubleshoot mibs or snmp problems. Hopefully, I may get a
better idea how to write my own mib after going through "understanding snmp
mibs". But without smc or Symon, how would you grep for critical events then
if all not such events are logged?

regards, Veni

inveni@hotmail.com


"Mike Kirk" <primealert@gmail.com> wrote in message
news:f0bc53ee.0410130727.3d59407e@posting.google.c om...
> Veni,
>
> > From the documents from sun, it is implied that from Symon 1.6
> > http://docs.sun.com/db/doc/805-4829/6j4io2pah?a=view, we should have
> > the mibs for hardware component monitoring

>
> Ah, I see where you're coming from. SyMON 1.x and SyMON 2.x (renamed
> to "Sun Management Center" as of version 3) are totally seperate
> products. Essentially 1.x was scrapped when 2.x was codeveloped with a
> partner (where Halcyon comes in). 2.x onwards all use the same core
> infrastructure, so 2.x docs still have some relevance to the most
> current version (3.5.1). But 1.x docs have nothing to do with 2.x or
> higher.
>
> > I am wondering if it would simply be cleaner to implement an
> > snmp trap (for hardware component monitoring) using the generic tools on
> > sun & perl given that critical errors and failures should be readable
> > and grepped off some of the syslog or var/admin logs.

>
> Scripts and logs may well be enough for your environment, especially
> if you have a bunch of non-production and/or small systems to
> maintain. But SunMC hardware monitoring also uses C code/libraries to
> query hardware for things that otherwise don't show up in log files.
> Especially for larger systems (3/4/6800, 12/15/20/25k range).
>
> You also have to ask yourself how much work it will be to maintain
> your setup in the face of new Sun hardware and software (i.e. Solaris
> 10) given that the basic hardware monitoring in SunMC is free.
> Downloading a new version may be easier to do than hacking away at
> Perl, though not nearly as fun!
>
> Regards,
>
> Mike
>
> Note: I am an employee of Halcyon (www.HalcyonInc.com)



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 07:56 AM
Mike Kirk
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Veni,

> But without smc or Symon, how would you grep for critical events then
> if all not such events are logged?


I think it ends up being that Sun and it's engineers are always going
to know more about their hardware than anybody else, and the ways they
query the status of that hardware aren't neccessarily going to be made
public. But you're approach is still going to get you quite a bit of
the info you want.

SunMC gives you all this info, in software that is free, and is
supported for all new Sun gear and Sun OS's. So I don't understand why
you wouldn't use it? Or is this more of a learn-how-SNMP-works
project?

Also, have you looked at Solaris 10 yet? From what I've heard it will
have some sort of "predictive self-healing" daemon on every machine...
so maybe the events that it actions on will be wide open for you to
read? That may make things easier.

Regards,

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2008, 07:56 AM
Veni
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Its more because I am using HP Openview and I'd like to be able to either
poll for the hardware component status (that most of my components are still
running, even the redundant power supplies). Thus, I had assumed (wrongly)
that the hassle free method was to install SMC which would have its own snmp
agents and then pass the mib to HpOpenview.
I dont think my peers would agree to an OS change or upgrade. Thus, I am
limited to superficial amendments. Given that the status of power supplies
and scsi disks arent necessarily found in syslogs or /var/admin, I suppose
another way may be to run ./explorer and the grep for the values in my
explorer output using perl. Not a very intelligent way to go about it
though.

Anyway after reading the documentation on SMC3.0, it seems to me that there
may not be an actual "hardware" mib that I can parse to my NMS.

Ps. Does anyone know of HPopenview compatibility issues with solaris? Not
all my mibs work, but I'd like to think that the mibs I am using conform
pretty much to the RFCs.

regards, Veni
inveni@hotmail.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-16-2008, 07:56 AM
Mike Kirk
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Hi Veni,

> Its more because I am using HP Openview and I'd like to be able to either
> poll for the hardware component status (that most of my components are still
> running, even the redundant power supplies).


Now I understand, wish I knew you had OpenView earlier: lots of people
push Sun hardware status to HPOV, but polling isn't the way to do it.
SunMC is built specifically to integrate with other frameworks like
Tivoli/CA/HPOV/Patrol/Netcool etc. It will actually "push" (by an SNMP
trap or Java message) any hardware alarms to you.

The push model is way more efficient, because you aren't continuously
polling dozens of data points from all your boxes... thus saving
network bandwidth and cpu. And you don't have to load a bunch of
random OIDs into NNM

> I dont think my peers would agree to an OS change or upgrade.


I'm guessing you're talking about changing from HPOV to SunMC, not
from HP-UX to Solaris, and you're exactly right: after spending big
$$$ on HPOV nobody in their right mind would rip it all out. What most
places do is start off by installing the free SunMC Agent on every
box, in parallel to HPOV (each Agent is about 10-15MB of memory, and
less than 1% cpu, they're tiny) and use it only for hardware. You
still leave HPOV everywhere, because it's probably still watching you
apps. It's just that SunMC is much better for Sun hardware.

Then, once you're happy it's all up and running (go yank a power
supply out: make sure HPOV gets the message), you may choose to use
SunMC for more (i.e. it has better Solaris kernel monitoring than HPOV
as well). Or not. It's up to you.
Because HPOV is just using SunMC as a data collector, you also have a
bit of flexibility: i.e. perhaps if you run VCS the monitoring for it
may be better or cheaper on SunMC then HPOV... you can buy the version
you want.. because it all ends up in HPOV anyways. Make your Sun and
HP software reps fight to give you a better deal

Anyways, back to what you need: either look into the HP-provided
integration:

http://support.openview.hp.com/cpe/p...mc.jsp?print=1

....or Halcyon-provided:

http://www.halcyoninc.com/products/HPOpenview/index.php

I'm partial to the Halcyon version, because I work for them But
everything I've said it my own opinion blah blah blah....

Hope this points you in the right direction.

Regards,

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-16-2008, 07:56 AM
veni
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

I am kinda stuck with HPOV. Thus, I have to figure out a way to get my machine to be monitored by HPOV. And I agree with you, after reading through the documentation, SMC seems more robust. For now, I have to either come up with my own MIB or source for a way where HPOV gets a trap whenever theres a critical hardware failure. Ps, since we cant grep for all the values via var/adm and syslog. would prtdiag or running the explorer be the best way to check for hardware status?

regards, Veni
inveni@hotmail.com


"Mike Kirk" <primealert@gmail.com> wrote in message news:f0bc53ee.0410160430.332695b2@posting.google.c om...
> Hi Veni,
>
> > Its more because I am using HP Openview and I'd like to be able to either
> > poll for the hardware component status (that most of my components are still
> > running, even the redundant power supplies).

>
> Now I understand, wish I knew you had OpenView earlier: lots of people
> push Sun hardware status to HPOV, but polling isn't the way to do it.
> SunMC is built specifically to integrate with other frameworks like
> Tivoli/CA/HPOV/Patrol/Netcool etc. It will actually "push" (by an SNMP
> trap or Java message) any hardware alarms to you.
>
> The push model is way more efficient, because you aren't continuously
> polling dozens of data points from all your boxes... thus saving
> network bandwidth and cpu. And you don't have to load a bunch of
> random OIDs into NNM
>
> > I dont think my peers would agree to an OS change or upgrade.

>
> I'm guessing you're talking about changing from HPOV to SunMC, not
> from HP-UX to Solaris, and you're exactly right: after spending big
> $$$ on HPOV nobody in their right mind would rip it all out. What most
> places do is start off by installing the free SunMC Agent on every
> box, in parallel to HPOV (each Agent is about 10-15MB of memory, and
> less than 1% cpu, they're tiny) and use it only for hardware. You
> still leave HPOV everywhere, because it's probably still watching you
> apps. It's just that SunMC is much better for Sun hardware.
>
> Then, once you're happy it's all up and running (go yank a power
> supply out: make sure HPOV gets the message), you may choose to use
> SunMC for more (i.e. it has better Solaris kernel monitoring than HPOV
> as well). Or not. It's up to you.
> Because HPOV is just using SunMC as a data collector, you also have a
> bit of flexibility: i.e. perhaps if you run VCS the monitoring for it
> may be better or cheaper on SunMC then HPOV... you can buy the version
> you want.. because it all ends up in HPOV anyways. Make your Sun and
> HP software reps fight to give you a better deal
>
> Anyways, back to what you need: either look into the HP-provided
> integration:
>
> http://support.openview.hp.com/cpe/p...mc.jsp?print=1
>
> ...or Halcyon-provided:
>
> http://www.halcyoninc.com/products/HPOpenview/index.php
>
> I'm partial to the Halcyon version, because I work for them But
> everything I've said it my own opinion blah blah blah....
>
> Hope this points you in the right direction.
>
> Regards,
>
> Mike

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-16-2008, 07:58 AM
Mike Kirk
 
Posts: n/a
Default Re: SUN MIB files for Hardware monitoring

Hi Veni,

> I am kinda stuck with HPOV. Thus, I have to figure out a way to get my
> machine to be monitored by HPOV. And I agree with you, after reading
> through the documentation, SMC seems more robust.


A couple of posts back you said you were willing to install SunMC if
you could poll it's MIB from HPOV. But now that I've told you that HP
actually builds a free SunMC <-> HPOV integration package, you don't
want to install SunMC at all?

> For now, I have to either come up with my own MIB or source for
> a way where HPOV gets a trap whenever theres a critical hardware failure


The second link I sent you was to have SunMC send HPOV a trap whenever
theres a critical hardware failure.

> Ps, since we cant grep
> for all the values via var/adm and syslog. would prtdiag or running the
> explorer be the best way to check for hardware status?


That would probably be better than nothing. But still, every time you
get a different Sun box, or upgrade Solaris, you'd have to edit the
scripts you made to do all that extra parsing.

a) SunMC gives you the best hardware monitoring of Sun gear (and lots
more)... for free.
b) HP provides a SunMC integration package to get all that good info
into HPOV... for free
c) By using these free vendor supplied tools, you do not have to waste
you time putting together a bunch of scripts that at best would only
approximate their functionality, and you don't have to waste your time
again upgrading those scripts every time Sun or HP changes their
hardware or software

Yes, I work for Halcyon (although this post is my own opinion and
doesn't represent my company), so you can paint me as a pro-SunMC
person, but to me it seems an easy decision to make. Unless your job
description is "to get paid to poorly reimplement the functionality of
other free sofware packages".

Hope this finds you well,

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

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