Router Configs assistance is required ...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
casper19038
Posts: 16
Joined: Thu Jan 09, 2014 8:33 am

Router Configs assistance is required ...

Post by casper19038 »

I have been working on getting Router Configs running and I must be missing something ....

I am running the latest version of CactiEZ
I have imported the SQL
I have installed tftp as required and edited the contents of /etc/xinetd.d/tftp
I have made the appropriate modifications under Settings>>Misc
I added Authentication ...
I read through all the forums on this I could find ...

After the above mentioned stuff, if I force a Backup and look at the debug ... I get this ...

Martech-HV#copy run tftp
Address or name of remote host []? 192.168.1.x
Destination filename [martech-hv-confg]? martechhv
.....
%Error opening tftp://192.168.1.x/martechhv (Timed out)

I am inclined to believe this is permissions related, but cannot figure out what to change to make the magic happen.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Router Configs assistance is required ...

Post by phalek »

Silly question:

Did you restart the tftp daemon and allowed it to go through the firewall ( if it's running ) ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
casper19038
Posts: 16
Joined: Thu Jan 09, 2014 8:33 am

Re: Router Configs assistance is required ...

Post by casper19038 »

Yes I did start the daemon and the plugin instructions have you set it to launch at start up. I did also read that tftp could possibly be blocked in the firewall so I shut the firewall off to test and still nothing. I forgot to mention those things in my original post.

I did read that the tftp daemon uses nobody as a user so the permissions changes I tried were for nobody, apache and root and no combo of any of these seemed to work.
casper19038
Posts: 16
Joined: Thu Jan 09, 2014 8:33 am

Re: Router Configs assistance is required ...

Post by casper19038 »

Ok, so a little diggin told me that the Firewall was indeed off and though I run the command to start xinetd and it says it started OK ... the status reads

xinetd dead subsys locked

looking in /var/log/messages I get ...

Feb 19 11:46:56 localhost xinetd[12087]: Bad log_on_failure flag: RECORD [file=/ etc/xinetd.conf] [line=18]
Feb 19 11:46:56 localhost xinetd[12087]: A fatal error was encountered while par sing the default section. xinetd will exit.
Feb 19 11:46:56 localhost xinetd[12087]: Exiting...

What that means I am not sure ... but once I get smarter I will let you know.
casper19038
Posts: 16
Joined: Thu Jan 09, 2014 8:33 am

Re: Router Configs assistance is required ...

Post by casper19038 »

Ok so I fixed it. I am not sure if what I did will break something else ... so if my attempt at smart just made me more dumberer, let me know a better way about this but ... in xinetd.conf I removed RECORD from the line in this section since that was line 18.

# Define general logging characteristics.
log_type = SYSLOG daemon info
log_on_failure = ATTEMPT HOST USERID RECORD
log_on_success = PID HOST USERID DURATION EXIT

then doing the service xinetd status I got ...

xinetd (pid 23111) is running...

And I forced a backup successfully.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Router Configs assistance is required ...

Post by phalek »

seems like you succesfully fixed a faulty entry so you should indeed be ready. Especially as xinetd started successfully and is also running.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
casper19038
Posts: 16
Joined: Thu Jan 09, 2014 8:33 am

Re: Router Configs assistance is required ...

Post by casper19038 »

Thank you so much for your help Phalek
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest