This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cacti> | |
<hash_000021aeee4e0ca11a898bbc3d5d2b516e0ed6> | |
<name>BMI HS22 6-Core CPU GT</name> | |
<graph> | |
<t_title></t_title> | |
<title>|host_description| - CPU Load</title> | |
<t_image_format_id></t_image_format_id> | |
<image_format_id>1</image_format_id> | |
<t_height></t_height> | |
<height>120</height> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use Net::SNMP; | |
# base_oid ist HOST-RESOURCES-MIB::hrProcessorLoad | |
my $base_oid = ".1.3.6.1.2.1.25.3.3.1.2"; | |
($session, $error) = Net::SNMP->session( | |
-hostname => "$ARGV[0]", | |
-version => "2", |
NewerOlder