Lines Matching refs:session
39 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
41 var_dump($session->get('.1.3.6.1.2.1.1.1..0'));
46 $session->exceptions_enabled = SNMP::ERRNO_ANY;
48 var_dump($session->get('.1.3.6.1.2.1.1.1..0'));
53 var_dump($session->close());
55 echo "Open normal session\n";
56 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
57 $session->valueretrieval = 67;
58 var_dump($session->valueretrieval);
59 echo "Closing session\n";
60 var_dump($session->close(''));
61 var_dump($session->close());
62 var_dump($session->get('.1.3.6.1.2.1.1.1.0'));
63 var_dump($session->close());
65 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
66 var_dump($session->walk('.1.3.6.1.2.1.1', FALSE, ''));
67 var_dump($session->walk('.1.3.6.1.2.1.1', FALSE, 30, ''));
68 var_dump($session->get());
69 var_dump($session->getnext());
70 var_dump($session->set());
72 var_dump($session->max_oids);
73 $session->max_oids = "ttt";
74 $session->max_oids = 0;
75 var_dump($session->max_oids);
89 Open normal session
93 Closing session