summaryrefslogtreecommitdiffstats
path: root/web/attachments/116587-diffs.txt
blob: f685d0d38e2f878414d3179656663a392a55be2a (plain)
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
34c34
< -H <ip_address> -o <OID> [-n] [-w warn_range] [-c crit_range] \n\
---
> -H <ip_address> -o <OID> [-w warn_range] [-c crit_range] \n\
46,47d45
<  -n\n\
<     Use snmpgetnext instead of snmpget\n\
199d196
< int usesnmpgetnext = FALSE;
239,244c236
<       if (usesnmpgetnext == TRUE)  {
<           asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s",
<                 PATH_TO_SNMPGETNEXT, timeout_interval - 1, miblist, proto,
<                 authpriv, server_address, port, oid);
<       } else {
<           asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s",
---
>       asprintf (&command_line, "%s -t 1 -r %d -m %s -v %s %s %s:%s %s",
247d238
<       }
477c468
<                       getopt_long (argc, argv, "nhvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:",
---
>                       getopt_long (argc, argv, "hvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:",
480c471
<               c = getopt (argc, argv, "nhvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:");
---
>               c = getopt (argc, argv, "hvVt:c:w:H:C:o:e:E:d:D:s:R:r:l:u:p:m:P:L:U:a:A:X:");
498,500d488
<               case 'n': /* usesnmpgetnext */
<                       usesnmpgetnext = TRUE;
<                       break;