Re: [Observium] poller doesn’t kick the apache-stats.py script
30 Nov
2011
30 Nov
'11
3:21 p.m.
Aha. Sounds like new behaviour in Ubuntu copied from debian upstream. Its very annoying, as you discovered. Ill need ti mention it in the install guide, as currently its only a footnote for debian!
Adam.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
"Fältman, Mikael" mikael.faltman@logica.com wrote:
Actually:
Ubuntu 11.10
Upgraded the distro not long a go.
//Mikael
Från: observium-bounces@observium.org [mailto:observium-bounces@observium.org] För Adam Armstrong
Skickat: den 30 november 2011 22:15
Till: Observium Network Observation System
Ämne: Re: [Observium] poller doesn’t kick the apache-stats.py script
Debian? Or another braindead distro which breaks snmp by removing mibs?
Adam
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
"Fältman, Mikael" mikael.faltman@logica.com wrote:
Ah.
That was a good switch !
OUTPUT from debug (not working):
SQL[SELECT * FROM `applications` WHERE `device_id` = '24'] Applications: /usr/bin/snmpget -v2c -c nmspublic -O qv -M /opt/observium/mibs/ udp:liss-bro-fep1:161 nsExtendOutputFull.6.97.112.97.99.104.101
nsExtendOutputFull.6.97.112.97.99.104.101: Unknown Object Identifier (Sub-id not found: (top) -> nsExtendOutputFull)
So I added “NET-SNMP-EXTEND-MIB::” to the file “includes/polling/applications/apache.inc.php” and it solved the problem.
Now it all works as expected.
New OUTPUT from debug (working):
SQL[SELECT * FROM `applications` WHERE `device_id` = '24'] Applications: /usr/bin/snmpget -v2c -c nmspublic -O qv -M /opt/observium/mibs/ udp:liss-bro-fep1:161 NET-SNMP-EXTEND-MIB::nsExtendOutputFull.6.97.112.97.99.104.101
Is it a bug or did I miss something. Some ENV param maybe ?
Thank you !
Mikael
Från: observium-bounces@observium.org [mailto:observium-bounces@observium.org] För Adam Armstrong
Skickat: den 30 november 2011 19:34
Till: Observium Network Observation System
Ämne: Re: [Observium] poller doesn’t kick the apache-stats.py script
Run the Poller for that host in debug.
./poller.php -h <host> -d
Adam
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
"Fältman, Mikael" mikael.faltman@logica.com wrote:
”Observium 0.11.10.2693”
I have set up Observium as instructed to monitor an apache server.
Everything seems work fine except that there is no data in the graphs .
Doing a manual snmp poll from Observium server returns data and the /tmp/apache-snmp file is creataed on the remote server so I know that the script has been executed.
(Snmpwalk -O qv -v2c -c xx webhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull -M /opt/observium/mibs)
Adding the App to the Device in Observium worked.
mysql> select * from applications;
+--------+-----------+----------+
| app_id | device_id | app_type |
+--------+-----------+----------+
| 1 | 24 | apache |
+--------+-----------+----------+
1 rows in set (0.00 sec)
The graphs are created under Apps->Apache
But there is no data !
When running the poller.php scrip everythings seems fine.
The script outputs: Applications: apache
The RRDs is created and the timestamp on the file is updated every 5 min.
app-apache-1.rrd
A rrdtool dump shows only NAN
BUT !
The file /tmp/apache-snmp is not created on the remote server when the poller.php script runs !?
(I have removed it after testing)
It seems that the poller doesn’t kick the apache-stats.py script on the remote server !
Am I missing something ?
Regards Mikael F
_________________________________________
Mikael Fältman | Service manager
Quality & Security | Logica Sweden
Ivögatan 5, 295 22 Bromölla | Sweden
T: +46 456 475 41 | M: +46 733 98 44 20
mikael.faltman@logica.com | www.logica.com
Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
4817
Age (days ago)
4817
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adam Armstrong