Cisco switches not Polling to observium

Hey guys
So as the headline reads im trying to get the graphs working to observium. I have 2 3560 cisco switches running which can ping to observium host, also the host can ping back. i have a community set up xxxx which i tried on my workstation and it works sending to observium. But trying on the switches seems to be a bit more difficult. When running php poller script i cant seem to find any errors when greping so i think to problem is with the cisco conf.
When i take a look in the obserivum host under pollerlog it would seem that my workstations was last pollled but not any of the switches, Last Discovered seems to work just fine.
So what do you guys think? Im not to sure where the problem is i might be in the linux host, but im not an expert at linux nor php. Do any of you guys think you might be able to help me out ? Also i have tried to remove the device and adding it again but still no luck. In observium i get this message even though i have waited 24 hours: error drawing graph Device not yet polled This device has not yet been successfully polled. System information and statistics will not be populated and graphs will not draw. Please wait 5-10 minutes for graphs to draw correctly.
Down here is the short config from my switch : SW02#show run | in snmp snmp-server community XXXX RO snmp-server host 10.2.1.118 version 2c XXXX
Best regards Simarpal

You can perform a test poll with :
./poller.php -h <hostname> -d -r
It'll produce output which may be useful.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 09:28:19, Simarpal Rooprai simarpal.rooprai@networkservices.se wrote: Hey guys So as the headline reads im trying to get the graphs working to observium. I have 2 3560 cisco switches running which can ping to observium host, also the host can ping back. i have a community set up xxxx which i tried on my workstation and it works sending to observium. But trying on the switches seems to be a bit more difficult. When running php poller script i cant seem to find any errors when greping so i think to problem is with the cisco conf. When i take a look in the obserivum host under pollerlog it would seem that my workstations was last pollled but not any of the switches, Last Discovered seems to work just fine. So what do you guys think? Im not to sure where the problem is i might be in the linux host, but im not an expert at linux nor php. Do any of you guys think you might be able to help me out ? Also i have tried to remove the device and adding it again but still no luck. In observium i get this message even though i have waited 24 hours: error drawing graph Device not yet polled This device has not yet been successfully polled. System information and statistics will not be populated and graphs will not draw. Please wait 5-10 minutes for graphs to draw correctly. Down here is the short config from my switch : SW02#show run | in snmp snmp-server community XXXX RO snmp-server host 10.2.1.118 version 2c XXXX Best regards Simarpal

Hello Adam Thx for the tip however im not quite sure what im looking for. My SQL skills are not quite the best, could you perhaps assit ? I Have attached a notefile showing the output.
Best Regards Simarpal
Från: observium [mailto:observium-bounces@observium.org] För Adam Armstrong Skickat: den 24 april 2015 11:10 Till: observium@observium.org Ämne: Re: [Observium] Cisco switches not Polling to observium
You can perform a test poll with :
./poller.php -h <hostname> -d -r
It'll produce output which may be useful.
adam.
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 24/04/2015 09:28:19, Simarpal Rooprai <simarpal.rooprai@networkservices.semailto:simarpal.rooprai@networkservices.se> wrote:
Hey guys
So as the headline reads im trying to get the graphs working to observium. I have 2 3560 cisco switches running which can ping to observium host, also the host can ping back. i have a community set up xxxx which i tried on my workstation and it works sending to observium. But trying on the switches seems to be a bit more difficult. When running php poller script i cant seem to find any errors when greping so i think to problem is with the cisco conf.
When i take a look in the obserivum host under pollerlog it would seem that my workstations was last pollled but not any of the switches, Last Discovered seems to work just fine.
So what do you guys think? Im not to sure where the problem is i might be in the linux host, but im not an expert at linux nor php. Do any of you guys think you might be able to help me out ? Also i have tried to remove the device and adding it again but still no luck. In observium i get this message even though i have waited 24 hours: error drawing graph Device not yet polled This device has not yet been successfully polled. System information and statistics will not be populated and graphs will not draw. Please wait 5-10 minutes for graphs to draw correctly.
Down here is the short config from my switch : SW02#show run | in snmp snmp-server community XXXX RO snmp-server host 10.2.1.118 version 2c XXXX
Best regards Simarpal

This looks like an issue with the geolocation stuff, probably Mike will fix it.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 10:43:53, Simarpal Rooprai simarpal.rooprai@networkservices.se wrote: Hello Adam Thx for the tip however im not quite sure what im looking for. My SQL skills are not quite the best, could you perhaps assit ? I Have attached a notefile showing the output. Best Regards Simarpal Från: observium [mailto:observium-bounces@observium.org] För Adam Armstrong Skickat: den 24 april 2015 11:10 Till: observium@observium.org Ämne: Re: [Observium] Cisco switches not Polling to observium You can perform a test poll with : ./poller.php -h <hostname> -d -r It'll produce output which may be useful. adam. Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 09:28:19, Simarpal Rooprai <simarpal.rooprai@networkservices.se [mailto:simarpal.rooprai@networkservices.se]> wrote: Hey guys So as the headline reads im trying to get the graphs working to observium. I have 2 3560 cisco switches running which can ping to observium host, also the host can ping back. i have a community set up xxxx which i tried on my workstation and it works sending to observium. But trying on the switches seems to be a bit more difficult. When running php poller script i cant seem to find any errors when greping so i think to problem is with the cisco conf. When i take a look in the obserivum host under pollerlog it would seem that my workstations was last pollled but not any of the switches, Last Discovered seems to work just fine. So what do you guys think? Im not to sure where the problem is i might be in the linux host, but im not an expert at linux nor php. Do any of you guys think you might be able to help me out ? Also i have tried to remove the device and adding it again but still no luck. In observium i get this message even though i have waited 24 hours: error drawing graph Device not yet polled This device has not yet been successfully polled. System information and statistics will not be populated and graphs will not draw. Please wait 5-10 minutes for graphs to draw correctly. Down here is the short config from my switch : SW02#show run | in snmp snmp-server community XXXX RO snmp-server host 10.2.1.118 version 2c XXXX Best regards Simarpal

Hi,
Please make sure you are running the latest revision, since this bug seems to have been fixed in r6143.
If you have a subscription, run "svn up" from the observium directory, then "./discovery.php -h none"
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 10:50:06, Adam Armstrong adama@memetic.org wrote: This looks like an issue with the geolocation stuff, probably Mike will fix it.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 10:43:53, Simarpal Rooprai simarpal.rooprai@networkservices.se wrote: Hello Adam Thx for the tip however im not quite sure what im looking for. My SQL skills are not quite the best, could you perhaps assit ? I Have attached a notefile showing the output. Best Regards Simarpal Från: observium [mailto:observium-bounces@observium.org] För Adam Armstrong Skickat: den 24 april 2015 11:10 Till: observium@observium.org Ämne: Re: [Observium] Cisco switches not Polling to observium You can perform a test poll with : ./poller.php -h <hostname> -d -r It'll produce output which may be useful. adam. Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 24/04/2015 09:28:19, Simarpal Rooprai <simarpal.rooprai@networkservices.se [mailto:simarpal.rooprai@networkservices.se]> wrote: Hey guys So as the headline reads im trying to get the graphs working to observium. I have 2 3560 cisco switches running which can ping to observium host, also the host can ping back. i have a community set up xxxx which i tried on my workstation and it works sending to observium. But trying on the switches seems to be a bit more difficult. When running php poller script i cant seem to find any errors when greping so i think to problem is with the cisco conf. When i take a look in the obserivum host under pollerlog it would seem that my workstations was last pollled but not any of the switches, Last Discovered seems to work just fine. So what do you guys think? Im not to sure where the problem is i might be in the linux host, but im not an expert at linux nor php. Do any of you guys think you might be able to help me out ? Also i have tried to remove the device and adding it again but still no luck. In observium i get this message even though i have waited 24 hours: error drawing graph Device not yet polled This device has not yet been successfully polled. System information and statistics will not be populated and graphs will not draw. Please wait 5-10 minutes for graphs to draw correctly. Down here is the short config from my switch : SW02#show run | in snmp snmp-server community XXXX RO snmp-server host 10.2.1.118 version 2c XXXX Best regards Simarpal _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Simarpal Rooprai