diff options
Diffstat (limited to 'web')
| -rwxr-xr-x | web/nms-public.gathering.org/api/public/switch-state | 2 | ||||
| -rwxr-xr-x | web/nms.gathering.org/api/public/switch-state | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/web/nms-public.gathering.org/api/public/switch-state b/web/nms-public.gathering.org/api/public/switch-state index 2a2b5b6..2fff681 100755 --- a/web/nms-public.gathering.org/api/public/switch-state +++ b/web/nms-public.gathering.org/api/public/switch-state @@ -42,7 +42,7 @@ while ( my $ref = $q->fetchrow_hashref() ) {  		}  		$json{'switches'}{$sysname}{totals}{'total'} += 1;  	} -	$json{'switches'}{$sysname}{'temp'} = $data{'misc'}{'enterprises.2636.3.1.13.1.7.7.1.0.0'}{''}; +	$json{'switches'}{$sysname}{'temp'} = $data{'misc'}{'jnxOperatingTemp'}{'7.1.0.0'};  	$json{'switches'}{$sysname}{'time'} = $ref->{'time'};  } diff --git a/web/nms.gathering.org/api/public/switch-state b/web/nms.gathering.org/api/public/switch-state index 2a2b5b6..2fff681 100755 --- a/web/nms.gathering.org/api/public/switch-state +++ b/web/nms.gathering.org/api/public/switch-state @@ -42,7 +42,7 @@ while ( my $ref = $q->fetchrow_hashref() ) {  		}  		$json{'switches'}{$sysname}{totals}{'total'} += 1;  	} -	$json{'switches'}{$sysname}{'temp'} = $data{'misc'}{'enterprises.2636.3.1.13.1.7.7.1.0.0'}{''}; +	$json{'switches'}{$sysname}{'temp'} = $data{'misc'}{'jnxOperatingTemp'}{'7.1.0.0'};  	$json{'switches'}{$sysname}{'time'} = $ref->{'time'};  } | 
