1
0
-1

Hi

I have NMIS 8.5.10G and when I'm trying to edit threshold I'm getting following error:

Oops!

500 Internal Server Error

<title> 500 Internal Server Error

 

and in logs I can see following:

[Thu Sep 17 10:54:11.302070 2015] [cgi:error] [pid 13551] [client 192.168.3.1:3320] AH01215: Undefined subroutine &main::writeHashtoModel called at /usr/local/nmis8/cgi-bin/models.pl line 1345., referer: http://172.16.51.99/cgi-nmis8/nmiscgi.pl
[Thu Sep 17 10:54:11.307581 2015] [cgi:error] [pid 13551] [client 192.168.3.1:3320] End of script output before headers: models.pl, referer: http://172.16.51.99/cgi-nmis8/nmiscgi.pl

 

Does anyone know how to solve this?

 

Thanks.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      oops - you found a bug. fortunately it's one that is easy to fix:

      in line 1345 in /usr/local/nmis8/cgi-bin/models.pl it should say "func::writeHashtoModel(name=>'Model',data=>$S->{mdl});" instead of just "writeHashtoModel...".

      however, for threshold modifications you shouldn't have needed to edit the 'base model' (but rather work on the 'Default' model, which wouldn't have triggered this bug)...anyway, thanks for letting us know.

       

        CommentAdd your comment...