php warning from snmp walk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jon.bilderback
Posts: 52
Joined: Tue Aug 10, 2010 9:16 am

php warning from snmp walk

Post by jon.bilderback »

I had to create a new log file for php, because I'm getting the following 2 messages about 3 times a second (for each one):

Code: Select all

[19-Apr-2011 10:55:49] PHP Warning:  include_once(/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
[19-Apr-2011 10:55:49] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
I'd like to remove snmp walk from my configuration (it hasn't been as useful in my situation), is there a way to do that manually?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: php warning from snmp walk

Post by tonyyarusso »

Sure - you can just delete the directory, which in this case appears to be /usr/local/nagiosxi/html/includes/components/snmpwalk/ (you may have a wizard as well by the same name).
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jon.bilderback
Posts: 52
Joined: Tue Aug 10, 2010 9:16 am

Re: php warning from snmp walk

Post by jon.bilderback »

My apologies, I didn't want to delete it, just wanted to see if I could fix the error so that I'm not spamming my logs.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: php warning from snmp walk

Post by tonyyarusso »

Well, the "correct" way would be to fix the error in the code if that's the issue. First check - are you sure you installed it in the correct place? Sometimes people get confused and install a component under wizards or a wizard under components.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked