Page 4 of 4

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Thu Jul 14, 2011 4:40 pm
by mccollege
Even if I add a new switch, nothing relevent is being added to either log

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Fri Jul 15, 2011 10:10 am
by nscott
Alright, lets check permissions then

Code: Select all

[root@localhost mrtg]# ll /etc/mrtg/
total 16
-rw-r--r-- 1 apache nagios 12926 Jul 15 09:48 mrtg.cfg
-rw-r--r-- 1 root   root       0 Jul 15 09:52 mrtg.ok

[root@localhost switch]# ll /etc/ | grep mrtg
drwxr-xr-x  2 root   root     4096 Jul 15 09:55 mrtg
If your don't match, change them to match.

Then, if that doesn't work I'm gonna have to ask you to turn on debugging in the switch wizard:

Code: Select all

sed 's/debug=false/debug=true/g' /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php -i
This will give debugging output during its apply configuration screen.

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Mon Jul 18, 2011 12:04 pm
by mccollege
Ok, the perms on the mrtg.cfg were root:root, so I fixed that.
It seems to be working now, but I need to do some more tests to make sure the original issue is resolved, I'll respond back with what I find.

Thanks

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Mon Jul 18, 2011 1:03 pm
by nscott
Alright, well thats good news. Let me know what you find out.

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Wed Jul 27, 2011 10:24 am
by mccollege
Seems like all of our issues with this have been resolved.

Thanks!

Re: Wizard "Network Switch / Router" - check_xi_service_mrtg

Posted: Wed Jul 27, 2011 11:42 am
by nscott
Awesome, thats great! We're working on a permissions script to change this very problem, so thanks for troubleshooting that with us!