Cheshire Cat Computing

Software support and information
It is currently Mon May 20, 2013 10:13 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Can not add device
PostPosted: Wed Jan 18, 2006 5:05 am 
Offline
User

Joined: Tue Jan 17, 2006 11:33 pm
Posts: 5
Hello i can not add devices on mrtg win32.
I got one of my router in the list but when i update myrouters.txt and that i run "update_myrouters.bat" and "manually run mrtg.bat" it doesn't appear on the graphs screen
(sorry for my poor english)

Can you help please??
thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 18, 2006 1:15 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
This is a problem with MRTG bundle, not routers2, so I am moving it to the MRTG bundle forum

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 18, 2006 1:17 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
routers2 will display all cfg files (devices) which match the definition in the routers2.conf file. I would guess that your update script is not creating the .cfg file for the new device? Check to see if it exists or not.

I have never used the MRTG bundle update scripts so I dont know how they work.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 18, 2006 10:17 pm 
Offline
User

Joined: Tue Jan 17, 2006 11:33 pm
Posts: 5
I have .cfg and .ok file for each of my device but they don't appear on my graph screen, and some device have a .cfg_l extension...
Thanks a lot for your help!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 1:53 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
The .cfg file is the MRTG configuration.
The .ok file is the SNMP cache generated by a successful run of MRTG on the cfg file
The .cfg_l file is a lock file generated by a running instance of MRTG.

Only the .cfg files correspond to a device. The others are working data.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 3:32 am 
Offline
User

Joined: Tue Jan 17, 2006 11:33 pm
Posts: 5
So what could be the problem ???


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 9:35 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
What happens when you try to add a new device? Have you created the .cfg file in the correct directory? Does the .cfg file have a valid Target[] line in it? What method did you use to create the .cfg file? Check the format of the cfg file and make sure it is legal. Check the routers2.conf and make sure that the cfgfiles directive correctly identifies this new file.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 9:21 pm 
Offline
User

Joined: Tue Jan 17, 2006 11:33 pm
Posts: 5
in th .cfg file of one of my devices i can read: "The following interface is commented out because: * has a speed of 0 which make no sense *--ifref=name is not unique for this interface"
....
I have the same problem for each devices that not appear int the graphs


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 9:59 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
There's your answer, then.

All the interfaces that the configuration script could find were not valid for the reasons given in the comments.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 21, 2006 6:29 am 
Offline
User

Joined: Tue Jan 17, 2006 11:33 pm
Posts: 5
Ok.....................................................................
Merci quand meme..............................................................


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group