- or download this
[root@elara object_problem]# perl snmp_monitor.pl
starting snmp_monitor.pl
...
OID: 1.1.1
Root OID: .1.3.6.1.4.1.99999.
Full OID: .1.3.6.1.4.1.99999.1.1.1
- or download this
#!/usr/bin/perl
...
print STDERR "Root OID: " . $obj->root_oid . "\n";
print STDERR "Full OID: " . $obj->full_oid . "\n\n";
}
- or download this
package SNMPMonitor;
use Module::Pluggable require => 1;
...
1;
__END__
- or download this
package SNMPMonitor::Plugin;
...
1;
__END__
- or download this
package SNMPMonitor::Plugin::Atest;
...
1;
__END__
- or download this
package SNMPMonitor::Plugin::Btest;
...
1;
__END__