Cactiusers.org


It is currently Mon May 21, 2012 4:45 pm




Post new topic Reply to topic  [ 2 posts ] 
 Issue with SNMP Warning 
Author Message
New User

Joined: Wed Feb 08, 2006 12:21 pm
Posts: 13
Post Issue with SNMP Warning
Hi ppl,

I have just added a Device with SNMP (so far just been playing with the advanced ping template). Once i added it, when i click on the Devices link, i get a notice on the top of the screen;

"Undefined index: host_status in C:\inetpub\wwwroot\host.php on line 730"

Everything is working ok, and the graph is graphing the number of processes ok. Not too sure whats going on ?

Posted the question on cacti.net and they suggested it may be a problem with the plugin's. The only one i have installed at the moment is the Monitor plugin.

Anyone any suggestions ?

Wayne


Tue Feb 21, 2006 2:54 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Actually, its not an issue with the plugins, or the architecture, it seems to be an actual bug in Cacti. The line in questions is the second one in this block of code.
Code:
   if (!empty($_SESSION["sess_host_status"])) {
      if ($_SESSION["sess_host_status"] != $_REQUEST["host_status"]) {
         $_REQUEST["page"] = 1;
      }
   }


I think I see the reason this is happening, and if my guess it correct (will test it tonight or tomorrow), I will commit a fix to SVN for it.


Tue Feb 21, 2006 3:22 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: