The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Cisco::UCS::Fault - Class for operations with Cisco UCS fault instances.

SYNOPSIS

  foreach my $error ($ucs->get_errors) {
    print       "-"x50 . "\n" .
                "Error          : " . $error->id . "\n" . 
                "Created        : " . $error->created . "\n" .
                "Severity       : " . $error->severity . "\n" .
                "Description    : " . $error->desc . "\n";
  }
  

DESCRIPTION

Cisco::UCS::Fault is a class providing operations with Cisco UCS fault instances (errors).

Note that you are not supposed to call the constructor yourself, rather Cisco::UCS::Fault objects are created for you automatically by calls to methods in Cisco::UCS.

METHODS

ack

Returns the acknowledgement state of the specified error.

code

Returns the internal error code of the specified error.

cause

Returns the cause of the specified error.

created

Returns the creation timestamp of the specified error.

desc

Returns a description of the specified error.

dn

Returns a distinguished name of the specified error in the UCSM information management heirarchy.

id

Returns a ID of the specified error.

highest_severity

Returns the highest severity classification the specified error reached.

last_transition

Returns a last transition timestamp of the specified error.

original_severity

Returns the original severity classification the specified error.

previous_severity

Returns the severity classification the specified error prior to the most recent transition.

occur

Returns the number of occurences for the specified error.

rule

Returns the rule that triggered the specified error.

severity

Returns the severity of the specified error.

tags

Returns the tags associated with the specified error.

type

Returns the specified error type.

AUTHOR

Luke Poskitt, <ltp at cpan.org>

BUGS

Please report any bugs or feature requests to bug-cisco-ucs-fault at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS-Fault. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Cisco::UCS::Fault

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Luke Poskitt.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.